pub enum AuthWrite {
Anonymous,
Reuse,
Krb5 {
spn: ArcStr,
},
Local,
Tls {
name: ArcStr,
},
}
Variants§
Trait Implementations§
Source§impl Pack for AuthWrite
impl Pack for AuthWrite
fn encoded_len(&self) -> usize
fn encode(&self, buf: &mut impl BufMut) -> Result<(), PackError>
fn decode(buf: &mut impl Buf) -> Result<Self, PackError>
fn const_encoded_len() -> Option<usize>
fn decode_into(&mut self, buf: &mut impl Buf) -> Result<(), PackError>where
Self: Sized,
Source§impl TryFrom<AuthWrite> for TargetAuth
impl TryFrom<AuthWrite> for TargetAuth
impl Eq for AuthWrite
impl StructuralPartialEq for AuthWrite
Auto Trait Implementations§
impl Freeze for AuthWrite
impl RefUnwindSafe for AuthWrite
impl Send for AuthWrite
impl Sync for AuthWrite
impl Unpin for AuthWrite
impl UnwindSafe for AuthWrite
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.