pub enum Access {
Any,
Unbound,
Bound,
Member,
Owner,
}Expand description
Who may send the command at all, before any bit is checked.
Variants§
Any
Any connection, bound (in any state the gate lets through) or not: session.hello,
community.rotations.
Unbound
An unbound connection only.
Bound
Any bound state the gate lets through, Pending and Suspended included.
Member
A Probation or Active member.
Owner
The owner only; no bit substitutes.
Trait Implementations§
impl Copy for Access
impl Eq for Access
impl StructuralPartialEq for Access
Auto Trait Implementations§
impl Freeze for Access
impl RefUnwindSafe for Access
impl Send for Access
impl Sync for Access
impl Unpin for Access
impl UnsafeUnpin for Access
impl UnwindSafe for Access
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