#[repr(i32)]pub enum SaltType {
Normal = 0,
NoRealm = 2,
OnlyRealm = 3,
Special = 4,
}Expand description
Kerberos salt type
Variants§
Normal = 0
Default for Kerberos Version 5
NoRealm = 2
Same as the default, without using realm information
OnlyRealm = 3
Uses only realm information as the salt
Special = 4
Generate a random salt
Implementations§
Trait Implementations§
Source§impl From<SaltType> for krb5_int32
impl From<SaltType> for krb5_int32
impl Copy for SaltType
impl Eq for SaltType
impl StructuralPartialEq for SaltType
Auto Trait Implementations§
impl Freeze for SaltType
impl RefUnwindSafe for SaltType
impl Send for SaltType
impl Sync for SaltType
impl Unpin for SaltType
impl UnwindSafe for SaltType
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