#[repr(C)]pub struct WireProtocol { /* private fields */ }
Expand description
The wire type corresponding to Protocol
.
Implementations§
Source§impl WireProtocol
impl WireProtocol
pub fn name(&self) -> Option<&WireString>
pub fn source_path(&self) -> Option<&WireString>
pub fn delivery(&self) -> Option<&WireDeliveryType>
Trait Implementations§
Source§impl Debug for WireProtocol
impl Debug for WireProtocol
Source§impl<___D> Decode<___D> for WireProtocolwhere
___D: Decoder + ?Sized,
impl<___D> Decode<___D> for WireProtocolwhere
___D: Decoder + ?Sized,
Source§impl TakeFrom<WireProtocol> for Protocol
impl TakeFrom<WireProtocol> for Protocol
Source§fn take_from(from: &WireProtocol) -> Self
fn take_from(from: &WireProtocol) -> Self
Converts from the given
T
, taking any resources that can’t be cloned.§const COPY_OPTIMIZATION: CopyOptimization<Self> = _
const COPY_OPTIMIZATION: CopyOptimization<Self> = _
An optimization flag that allows the bytes of this type to be copied directly during
conversion instead of calling
take_from
. Read moreSource§impl TakeFrom<WireProtocol> for Protocol
impl TakeFrom<WireProtocol> for Protocol
Source§fn take_from(from: &WireProtocol) -> Self
fn take_from(from: &WireProtocol) -> Self
Converts from the given
T
, taking any resources that can’t be cloned.§const COPY_OPTIMIZATION: CopyOptimization<Self> = _
const COPY_OPTIMIZATION: CopyOptimization<Self> = _
An optimization flag that allows the bytes of this type to be copied directly during
conversion instead of calling
take_from
. Read moreSource§impl ZeroPadding for WireProtocol
impl ZeroPadding for WireProtocol
Source§fn zero_padding(out: &mut MaybeUninit<Self>)
fn zero_padding(out: &mut MaybeUninit<Self>)
Writes zeroes to the padding for this type, if any.
Auto Trait Implementations§
impl Freeze for WireProtocol
impl RefUnwindSafe for WireProtocol
impl !Send for WireProtocol
impl !Sync for WireProtocol
impl Unpin for WireProtocol
impl UnwindSafe for WireProtocol
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