pub enum Word {
Say(String),
Refuse(String),
}Expand description
One thing a flavor said to one connection.
Variants§
Say(String)
Plain speech, shown in the client’s message log.
Refuse(String)
A refusal, shown wherever the client reports denials.
Trait Implementations§
impl Eq for Word
impl StructuralPartialEq for Word
Auto Trait Implementations§
impl Freeze for Word
impl RefUnwindSafe for Word
impl Send for Word
impl Sync for Word
impl Unpin for Word
impl UnwindSafe for Word
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