pub struct OpenCommand { /* private fields */ }
Implementations§
Trait Implementations§
Source§impl Debug for OpenCommand
impl Debug for OpenCommand
Source§impl Decoder for OpenCommand
impl Decoder for OpenCommand
fn decode(input: &[u8]) -> Result<(&[u8], Self), DecodeError>
fn decode_version_2(input: &[u8]) -> Result<(&[u8], Self), DecodeError>
Source§impl Encoder for OpenCommand
impl Encoder for OpenCommand
fn encode(&self, writer: &mut impl Write) -> Result<(), EncodeError>
fn encoded_size(&self) -> u32
fn encoded_size_version_2(&self) -> u32
fn encode_version_2(&self, writer: &mut impl Write) -> Result<(), EncodeError>
Source§impl From<OpenCommand> for RequestKind
impl From<OpenCommand> for RequestKind
Source§fn from(cmd: OpenCommand) -> Self
fn from(cmd: OpenCommand) -> Self
Converts to this type from the input type.
Source§impl PartialEq for OpenCommand
impl PartialEq for OpenCommand
impl Eq for OpenCommand
impl StructuralPartialEq for OpenCommand
Auto Trait Implementations§
impl Freeze for OpenCommand
impl RefUnwindSafe for OpenCommand
impl Send for OpenCommand
impl Sync for OpenCommand
impl Unpin for OpenCommand
impl UnwindSafe for OpenCommand
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