pub enum HandlerEvent {
MessageCreated(DecryptedMessage),
MessageDeleted(DeletedMessage),
Connected,
Disconnected(String),
Reconnecting(u32),
Error(String),
}Expand description
Events emitted by WebexMessageHandler.
Variants§
MessageCreated(DecryptedMessage)
A new message was received and decrypted.
MessageDeleted(DeletedMessage)
A message was deleted.
Connected
Successfully connected (or reconnected).
Disconnected(String)
Disconnected with a reason string.
Reconnecting(u32)
Reconnecting (attempt number).
Error(String)
An error occurred.
Trait Implementations§
Source§impl Clone for HandlerEvent
impl Clone for HandlerEvent
Source§fn clone(&self) -> HandlerEvent
fn clone(&self) -> HandlerEvent
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for HandlerEvent
impl RefUnwindSafe for HandlerEvent
impl Send for HandlerEvent
impl Sync for HandlerEvent
impl Unpin for HandlerEvent
impl UnwindSafe for HandlerEvent
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