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.