pub struct Family(/* private fields */);
Expand description
A family describes how to interpret some bytes as an address in an AuthEntry
.
Compared to super::protocol::xproto::Family
, this is a u16
and not an u8
since
that’s what is used in ~/.Xauthority
files.
Implementations§
Source§impl Family
impl Family
Sourcepub const SERVER_INTERPRETED: Self
pub const SERVER_INTERPRETED: Self
Family without predefined meaning, but interpreted by the server, for example a user name
Sourcepub const KRB5_PRINCIPAL: Self
pub const KRB5_PRINCIPAL: Self
Kerberos 5 principal name
Sourcepub const LOCAL_HOST: Self
pub const LOCAL_HOST: Self
For local non-net authentication
Trait Implementations§
impl Copy for Family
impl Eq for Family
impl StructuralPartialEq for Family
Auto Trait Implementations§
impl Freeze for Family
impl RefUnwindSafe for Family
impl Send for Family
impl Sync for Family
impl Unpin for Family
impl UnwindSafe for Family
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