pub struct ExchangeCommandVersionsRequest { /* private fields */ }
Implementations§
Source§impl ExchangeCommandVersionsRequest
impl ExchangeCommandVersionsRequest
pub fn new(correlation_id: u32, commands: Vec<ExchangeCommandVersion>) -> Self
Trait Implementations§
Source§impl Decoder for ExchangeCommandVersionsRequest
impl Decoder for ExchangeCommandVersionsRequest
fn decode(input: &[u8]) -> Result<(&[u8], Self), DecodeError>
fn decode_version_2(input: &[u8]) -> Result<(&[u8], Self), DecodeError>
Source§impl Encoder for ExchangeCommandVersionsRequest
impl Encoder for ExchangeCommandVersionsRequest
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 From<ExchangeCommandVersionsRequest> for RequestKind
impl From<ExchangeCommandVersionsRequest> for RequestKind
Source§fn from(cmd: ExchangeCommandVersionsRequest) -> Self
fn from(cmd: ExchangeCommandVersionsRequest) -> Self
Converts to this type from the input type.
Source§impl PartialEq for ExchangeCommandVersionsRequest
impl PartialEq for ExchangeCommandVersionsRequest
Source§fn eq(&self, other: &ExchangeCommandVersionsRequest) -> bool
fn eq(&self, other: &ExchangeCommandVersionsRequest) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl Eq for ExchangeCommandVersionsRequest
impl StructuralPartialEq for ExchangeCommandVersionsRequest
Auto Trait Implementations§
impl Freeze for ExchangeCommandVersionsRequest
impl RefUnwindSafe for ExchangeCommandVersionsRequest
impl Send for ExchangeCommandVersionsRequest
impl Sync for ExchangeCommandVersionsRequest
impl Unpin for ExchangeCommandVersionsRequest
impl UnwindSafe for ExchangeCommandVersionsRequest
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