pub enum WireMessage {
Message(Message),
SegmentStart(SegmentStart),
SegmentChunk(SegmentChunk),
}
Expand description
Wrapper for DLC related message and segmentation related messages.
Variants§
Message(Message)
Message related to establishment of a DLC contract.
SegmentStart(SegmentStart)
Message indicating an incoming segmented message.
SegmentChunk(SegmentChunk)
Message providing a chunk of a segmented message.
Trait Implementations§
Source§impl Clone for WireMessage
impl Clone for WireMessage
Source§fn clone(&self) -> WireMessage
fn clone(&self) -> WireMessage
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 moreSource§impl Debug for WireMessage
impl Debug for WireMessage
Source§impl Display for WireMessage
impl Display for WireMessage
Source§impl Type for WireMessage
impl Type for WireMessage
Source§impl Writeable for WireMessage
impl Writeable for WireMessage
Auto Trait Implementations§
impl Freeze for WireMessage
impl RefUnwindSafe for WireMessage
impl Send for WireMessage
impl Sync for WireMessage
impl Unpin for WireMessage
impl UnwindSafe for WireMessage
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