pub enum UserMode {
Away,
Invisible,
Wallops,
Restricted,
Oper,
LocalOper,
ServerNotices,
MaskedHost,
Unknown(char),
}
Expand description
User modes for the MODE command.
Variants§
Away
a - user is flagged as away
Invisible
i - marks a users as invisible
Wallops
w - user receives wallops
Restricted
r - restricted user connection
Oper
o - operator flag
LocalOper
O - local operator flag
ServerNotices
s - marks a user for receipt of server notices
MaskedHost
x - masked hostname
Unknown(char)
Any other unknown-to-the-crate mode.
Trait Implementations§
source§impl PartialEq for UserMode
impl PartialEq for UserMode
impl StructuralPartialEq for UserMode
Auto Trait Implementations§
impl Freeze for UserMode
impl RefUnwindSafe for UserMode
impl Send for UserMode
impl Sync for UserMode
impl Unpin for UserMode
impl UnwindSafe for UserMode
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