pub enum Message {
RequestTxIds(Blocking, TxCount, TxCount),
ReplyTxIds(Vec<TxIdAndSize>),
RequestTxs(Vec<TxId>),
ReplyTxs(Vec<TxBody>),
Done,
}
Variants§
RequestTxIds(Blocking, TxCount, TxCount)
ReplyTxIds(Vec<TxIdAndSize>)
RequestTxs(Vec<TxId>)
ReplyTxs(Vec<TxBody>)
Done
Trait Implementations§
Source§impl DecodePayload for Message
impl DecodePayload for Message
fn decode_payload(d: &mut PayloadDecoder<'_>) -> Result<Self, Box<dyn Error>>
Source§impl EncodePayload for Message
impl EncodePayload for Message
fn encode_payload( &self, e: &mut PayloadEncoder<'_>, ) -> Result<(), Box<dyn Error>>
Auto Trait Implementations§
impl Freeze for Message
impl RefUnwindSafe for Message
impl Send for Message
impl Sync for Message
impl Unpin for Message
impl UnwindSafe for Message
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