pub enum MercuryEvent {
Connected,
Disconnected(String),
Reconnecting(u32),
Activity(MercuryActivity),
KmsResponse(Value),
Error(String),
}Expand description
Events emitted by the Mercury socket.
Variants§
Connected
Disconnected(String)
Reconnecting(u32)
Activity(MercuryActivity)
KmsResponse(Value)
Error(String)
Trait Implementations§
Source§impl Clone for MercuryEvent
impl Clone for MercuryEvent
Source§fn clone(&self) -> MercuryEvent
fn clone(&self) -> MercuryEvent
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 MercuryEvent
impl RefUnwindSafe for MercuryEvent
impl Send for MercuryEvent
impl Sync for MercuryEvent
impl Unpin for MercuryEvent
impl UnwindSafe for MercuryEvent
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