pub enum UserIdentity<'a> {
Anonymous,
Username {
username: &'a str,
password: &'a str,
},
}Expand description
User authentication within the pinned encrypted session.
Variants§
Implementations§
Trait Implementations§
Source§impl<'a> Clone for UserIdentity<'a>
impl<'a> Clone for UserIdentity<'a>
impl<'a> Copy for UserIdentity<'a>
Auto Trait Implementations§
impl<'a> Forget for UserIdentity<'a>
impl<'a> Freeze for UserIdentity<'a>
impl<'a> Move for UserIdentity<'a>
impl<'a> RefUnwindSafe for UserIdentity<'a>
impl<'a> Send for UserIdentity<'a>
impl<'a> Sync for UserIdentity<'a>
impl<'a> Unpin for UserIdentity<'a>
impl<'a> UnsafeUnpin for UserIdentity<'a>
impl<'a> UnwindSafe for UserIdentity<'a>
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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