pub enum Authentication {
Unauthenticated,
Hmac(HmacKey),
}Expand description
Concrete authentication for a low-level client session.
Variants§
Unauthenticated
Send and accept packets without HMAC authentication.
Hmac(HmacKey)
Authenticate packets with this key, including when it is empty.
Trait Implementations§
Source§impl Clone for Authentication
impl Clone for Authentication
Source§impl Debug for Authentication
impl Debug for Authentication
Source§impl Default for Authentication
impl Default for Authentication
impl Eq for Authentication
Source§impl PartialEq for Authentication
impl PartialEq for Authentication
impl StructuralPartialEq for Authentication
Auto Trait Implementations§
impl Freeze for Authentication
impl RefUnwindSafe for Authentication
impl Send for Authentication
impl Sync for Authentication
impl Unpin for Authentication
impl UnsafeUnpin for Authentication
impl UnwindSafe for Authentication
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