pub struct NoneAuthHandler;Expand description
AuthHandler always returning an Error.
Can be used in type signatures when TURN is disabled.
Trait Implementations§
Source§impl AuthHandler for NoneAuthHandler
impl AuthHandler for NoneAuthHandler
Source§fn auth_handle(
&self,
_: &str,
_: &str,
_: SocketAddr,
) -> Result<SecretString, Error>
fn auth_handle( &self, _: &str, _: &str, _: SocketAddr, ) -> Result<SecretString, Error>
Performs authentication of the specified user, returning its ICE
password on success. Read more
Source§impl Clone for NoneAuthHandler
impl Clone for NoneAuthHandler
Source§fn clone(&self) -> NoneAuthHandler
fn clone(&self) -> NoneAuthHandler
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for NoneAuthHandler
impl Debug for NoneAuthHandler
impl Copy for NoneAuthHandler
Auto Trait Implementations§
impl Freeze for NoneAuthHandler
impl RefUnwindSafe for NoneAuthHandler
impl Send for NoneAuthHandler
impl Sync for NoneAuthHandler
impl Unpin for NoneAuthHandler
impl UnwindSafe for NoneAuthHandler
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more