pub enum ChannelEvent {
Inbound(InboundMessage),
Outbound(OutboundMessage),
Receipt(DeliveryReceipt),
Health(ChannelHealth),
}Expand description
Event kinds intentionally remain small; platform details stay in metadata.
Variants§
Trait Implementations§
Source§impl Clone for ChannelEvent
impl Clone for ChannelEvent
Source§impl Debug for ChannelEvent
impl Debug for ChannelEvent
Source§impl<'de> Deserialize<'de> for ChannelEvent
impl<'de> Deserialize<'de> for ChannelEvent
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for ChannelEvent
Source§impl PartialEq for ChannelEvent
impl PartialEq for ChannelEvent
Source§impl Serialize for ChannelEvent
impl Serialize for ChannelEvent
impl StructuralPartialEq for ChannelEvent
Auto Trait Implementations§
impl Freeze for ChannelEvent
impl RefUnwindSafe for ChannelEvent
impl Send for ChannelEvent
impl Sync for ChannelEvent
impl Unpin for ChannelEvent
impl UnsafeUnpin for ChannelEvent
impl UnwindSafe for ChannelEvent
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