pub enum Event {
RecievedMessage {
sender: Vec<u8>,
message: Message,
},
SetNickname(Vec<u8>),
ChangedNickname(Vec<u8>),
}
Expand description
A event that can occur during while connected.
Variants
RecievedMessage
A recieved message.
SetNickname(Vec<u8>)
A nickname setup.
ChangedNickname(Vec<u8>)
A nickname change.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Event
impl Send for Event
impl Sync for Event
impl Unpin for Event
impl UnwindSafe for Event
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more