pub enum Credential {
Token(Token),
Lys(LysTable),
}Expand description
Where the ticket’s pass comes from.
Variants§
Token(Token)
A pass read once from token_file, whose Debug reveals only its length.
Lys(LysTable)
[lys]: the agent’s own pass, asked of Lys with its key and renewed.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Credential
impl RefUnwindSafe for Credential
impl Send for Credential
impl Sync for Credential
impl Unpin for Credential
impl UnsafeUnpin for Credential
impl UnwindSafe for Credential
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