Struct x11rb_protocol::xauth::Family
source · [−]pub struct Family(_);
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
sourceimpl Family
impl Family
sourcepub const SERVER_INTERPRETED: Self = Self(5)
pub const SERVER_INTERPRETED: Self = Self(5)
Family without predefined meaning, but interpreted by the server, for example a user name
sourcepub const KRB5_PRINCIPAL: Self = Self(253)
pub const KRB5_PRINCIPAL: Self = Self(253)
Kerberos 5 principal name
sourcepub const LOCAL_HOST: Self = Self(252)
pub const LOCAL_HOST: Self = Self(252)
For local non-net authentication
Trait Implementations
impl Copy for Family
impl Eq for Family
impl StructuralEq for Family
impl StructuralPartialEq for Family
Auto Trait Implementations
impl RefUnwindSafe for Family
impl Send for Family
impl Sync for Family
impl Unpin for Family
impl UnwindSafe for Family
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more