pub struct DeliverCommand {
pub subscription_id: u8,
pub chunk_first_offset: u64,
pub messages: Vec<Message>,
/* private fields */
}
Fields§
§subscription_id: u8
§chunk_first_offset: u64
§messages: Vec<Message>
Implementations§
Trait Implementations§
Source§impl Clone for DeliverCommand
impl Clone for DeliverCommand
Source§fn clone(&self) -> DeliverCommand
fn clone(&self) -> DeliverCommand
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 DeliverCommand
impl Debug for DeliverCommand
Source§impl Decoder for DeliverCommand
impl Decoder for DeliverCommand
fn decode(input: &[u8]) -> Result<(&[u8], Self), DecodeError>
fn decode_version_2(input: &[u8]) -> Result<(&[u8], Self), DecodeError>
Source§impl Encoder for DeliverCommand
impl Encoder for DeliverCommand
fn encoded_size(&self) -> u32
fn encode(&self, writer: &mut impl Write) -> Result<(), EncodeError>
fn encoded_size_version_2(&self) -> u32
fn encode_version_2(&self, writer: &mut impl Write) -> Result<(), EncodeError>
Source§impl PartialEq for DeliverCommand
impl PartialEq for DeliverCommand
impl Eq for DeliverCommand
impl StructuralPartialEq for DeliverCommand
Auto Trait Implementations§
impl Freeze for DeliverCommand
impl RefUnwindSafe for DeliverCommand
impl Send for DeliverCommand
impl Sync for DeliverCommand
impl Unpin for DeliverCommand
impl UnwindSafe for DeliverCommand
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