pub struct WireEventType { /* private fields */ }
Expand description
The wire type corresponding to EventType
.
Implementations§
Source§impl WireEventType
impl WireEventType
pub const CAPABILITY_REQUESTED: WireEventType
pub const DIRECTORY_READY: WireEventType
pub const DISCOVERED: WireEventType
pub const DESTROYED: WireEventType
pub const RESOLVED: WireEventType
pub const STARTED: WireEventType
pub const STOPPED: WireEventType
pub const DEBUG_STARTED: WireEventType
pub const UNRESOLVED: WireEventType
Trait Implementations§
Source§impl Clone for WireEventType
impl Clone for WireEventType
Source§fn clone(&self) -> WireEventType
fn clone(&self) -> WireEventType
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for WireEventType
impl Debug for WireEventType
Source§impl<___D> Decode<___D> for WireEventTypewhere
___D: ?Sized,
impl<___D> Decode<___D> for WireEventTypewhere
___D: ?Sized,
Source§impl From<EventType> for WireEventType
impl From<EventType> for WireEventType
Source§impl From<WireEventType> for EventType
impl From<WireEventType> for EventType
Source§fn from(wire: WireEventType) -> Self
fn from(wire: WireEventType) -> Self
Converts to this type from the input type.
Source§impl PartialEq for WireEventType
impl PartialEq for WireEventType
Source§impl TakeFrom<WireEventType> for EventType
impl TakeFrom<WireEventType> for EventType
Source§fn take_from(from: &WireEventType) -> Self
fn take_from(from: &WireEventType) -> 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<WireEventType> for EventType
impl TakeFrom<WireEventType> for EventType
Source§fn take_from(from: &WireEventType) -> Self
fn take_from(from: &WireEventType) -> 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 WireEventType
impl ZeroPadding for WireEventType
Source§fn zero_padding(_: &mut MaybeUninit<Self>)
fn zero_padding(_: &mut MaybeUninit<Self>)
Writes zeroes to the padding for this type, if any.
impl Copy for WireEventType
impl Eq for WireEventType
impl StructuralPartialEq for WireEventType
Auto Trait Implementations§
impl Freeze for WireEventType
impl RefUnwindSafe for WireEventType
impl Send for WireEventType
impl Sync for WireEventType
impl Unpin for WireEventType
impl UnwindSafe for WireEventType
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