pub trait RTSPAuthExtManual: Sealed + IsA<RTSPAuth> + 'static {
    // Provided methods
    fn set_default_token(&self, token: Option<&mut RTSPToken>) { ... }
    fn connect_accept_certificate<F: Fn(&Self, &TlsConnection, &TlsCertificate, TlsCertificateFlags) -> Result<(), LoggableError> + Send + Sync + 'static>(
        &self,
        f: F,
    ) -> SignalHandlerId { ... }
}

Provided Methods§

source

fn set_default_token(&self, token: Option<&mut RTSPToken>)

Set the default RTSPToken to token in self. The default token will be used for unauthenticated users.

§token

a RTSPToken

source

fn connect_accept_certificate<F: Fn(&Self, &TlsConnection, &TlsCertificate, TlsCertificateFlags) -> Result<(), LoggableError> + Send + Sync + 'static>( &self, f: F, ) -> SignalHandlerId

Object Safety§

This trait is not object safe.

Implementors§