pub enum CommunicationChannel {
None = 0,
RdmaV1 = 1,
RdmaV1Invalidate = 2,
}Expand description
Communication channel types for SMB Direct.
Reference: MS-SMB2 2.2.19
Variants§
None = 0
No RDMA channel.
RdmaV1 = 1
SMB Direct v1.
RdmaV1Invalidate = 2
SMB Direct v1 with invalidate.
Trait Implementations§
Source§impl BinWrite for CommunicationChannel
impl BinWrite for CommunicationChannel
Source§fn write_options<W>(
&self,
__binrw_generated_var_writer: &mut W,
__binrw_generated_var_endian: Endian,
__binrw_generated_var_arguments: <CommunicationChannel as BinWrite>::Args<'_>,
) -> Result<(), Error>
fn write_options<W>( &self, __binrw_generated_var_writer: &mut W, __binrw_generated_var_endian: Endian, __binrw_generated_var_arguments: <CommunicationChannel as BinWrite>::Args<'_>, ) -> Result<(), Error>
Source§fn write<W>(&self, writer: &mut W) -> Result<(), Error>
fn write<W>(&self, writer: &mut W) -> Result<(), Error>
Write
Self to the writer using default arguments. Read moreSource§fn write_be<W>(&self, writer: &mut W) -> Result<(), Error>
fn write_be<W>(&self, writer: &mut W) -> Result<(), Error>
Write
Self to the writer assuming big-endian byte order. Read moreSource§fn write_le<W>(&self, writer: &mut W) -> Result<(), Error>
fn write_le<W>(&self, writer: &mut W) -> Result<(), Error>
Write
Self to the writer assuming little-endian byte order. Read moreSource§fn write_ne<W>(&self, writer: &mut W) -> Result<(), Error>
fn write_ne<W>(&self, writer: &mut W) -> Result<(), Error>
Write
Self to the writer assuming native-endian byte order. Read moreSource§fn write_args<W>(
&self,
writer: &mut W,
args: Self::Args<'_>,
) -> Result<(), Error>
fn write_args<W>( &self, writer: &mut W, args: Self::Args<'_>, ) -> Result<(), Error>
Write
Self to the writer using the given arguments. Read moreSource§fn write_be_args<W>(
&self,
writer: &mut W,
args: Self::Args<'_>,
) -> Result<(), Error>
fn write_be_args<W>( &self, writer: &mut W, args: Self::Args<'_>, ) -> Result<(), Error>
Write
Self to the writer, assuming big-endian byte order, using the
given arguments. Read moreSource§impl Debug for CommunicationChannel
impl Debug for CommunicationChannel
Source§impl PartialEq for CommunicationChannel
impl PartialEq for CommunicationChannel
impl Eq for CommunicationChannel
impl StructuralPartialEq for CommunicationChannel
Auto Trait Implementations§
impl Freeze for CommunicationChannel
impl RefUnwindSafe for CommunicationChannel
impl Send for CommunicationChannel
impl Sync for CommunicationChannel
impl Unpin for CommunicationChannel
impl UnsafeUnpin for CommunicationChannel
impl UnwindSafe for CommunicationChannel
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