Struct x11rb_protocol::xauth::Family
source · pub struct Family(u16);
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.
Tuple Fields§
§0: u16
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§
source§impl PartialEq for Family
impl PartialEq for Family
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