pub enum Salt {
None,
Signer(Vec<u8>),
Verifier(Vec<u8>),
}
Variants§
None
No salt. This is the default.
Signer(Vec<u8>)
A salt to be used for signing tokens.
Verifier(Vec<u8>)
A salt to be used for verifying tokens.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Salt
impl RefUnwindSafe for Salt
impl Send for Salt
impl Sync for Salt
impl Unpin for Salt
impl UnwindSafe for Salt
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