pub enum WireCredential<'a> {
PassV1(&'a [u8]),
LysPass(&'a [u8]),
}Expand description
A credential record classified by its first byte.
Variants§
PassV1(&'a [u8])
A WirePassV1 record; the whole bytes, tag included, go to its checker.
LysPass(&'a [u8])
A Lys pass; the bytes after the tag go to lys-pass unchanged.
Implementations§
Source§impl<'a> WireCredential<'a>
impl<'a> WireCredential<'a>
Trait Implementations§
Source§impl<'a> Clone for WireCredential<'a>
impl<'a> Clone for WireCredential<'a>
impl<'a> Copy for WireCredential<'a>
Source§impl<'a> Debug for WireCredential<'a>
impl<'a> Debug for WireCredential<'a>
impl<'a> Eq for WireCredential<'a>
Source§impl<'a> PartialEq for WireCredential<'a>
impl<'a> PartialEq for WireCredential<'a>
impl<'a> StructuralPartialEq for WireCredential<'a>
Auto Trait Implementations§
impl<'a> Freeze for WireCredential<'a>
impl<'a> RefUnwindSafe for WireCredential<'a>
impl<'a> Send for WireCredential<'a>
impl<'a> Sync for WireCredential<'a>
impl<'a> Unpin for WireCredential<'a>
impl<'a> UnsafeUnpin for WireCredential<'a>
impl<'a> UnwindSafe for WireCredential<'a>
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