pub enum PeerClass {
Service,
Operator,
Reader,
}Expand description
What an admitted peer on a command socket is.
Variants§
Service
Root or the serving process’s own uid: an agent service.
Operator
A member of OPERATOR_GROUP.
Reader
A member of the socket’s reader group only. It may read what the server offers and nothing more.
Trait Implementations§
impl Copy for PeerClass
impl Eq for PeerClass
impl StructuralPartialEq for PeerClass
Auto Trait Implementations§
impl Freeze for PeerClass
impl RefUnwindSafe for PeerClass
impl Send for PeerClass
impl Sync for PeerClass
impl Unpin for PeerClass
impl UnsafeUnpin for PeerClass
impl UnwindSafe for PeerClass
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.