Skip to main content

ICertificateHandlerMethods

Trait ICertificateHandlerMethods 

Source
pub trait ICertificateHandlerMethods: ICertificateHandler {
    // Provided methods
    fn release(self) { ... }
    fn validate_certificate(
        self,
        certificate_data: impl Into<Array<u8>>,
    ) -> bool { ... }
    fn validate_certificate_native(
        self,
        certificate_data: impl Into<Array<u8>>,
    ) -> bool { ... }
    fn dispose(self) { ... }
}

Provided Methods§

Source

fn release(self)

Release() overload

Source

fn validate_certificate(self, certificate_data: impl Into<Array<u8>>) -> bool

ValidateCertificate(::unity::Array<u8>) overload

Source

fn validate_certificate_native( self, certificate_data: impl Into<Array<u8>>, ) -> bool

ValidateCertificateNative(::unity::Array<u8>) overload

Source

fn dispose(self)

Dispose() overload

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§

Source§

impl<__T: ICertificateHandler> ICertificateHandlerMethods for __T

Available on crate feature unity_engine-networking-certificatehandler only.