pub struct WireWatchEvent { /* private fields */ }
Expand description
The wire type corresponding to WatchEvent
.
Implementations§
Source§impl WireWatchEvent
impl WireWatchEvent
pub const DELETED: WireWatchEvent
pub const ADDED: WireWatchEvent
pub const REMOVED: WireWatchEvent
pub const EXISTING: WireWatchEvent
pub const IDLE: WireWatchEvent
Trait Implementations§
Source§impl Clone for WireWatchEvent
impl Clone for WireWatchEvent
Source§fn clone(&self) -> WireWatchEvent
fn clone(&self) -> WireWatchEvent
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 WireWatchEvent
impl Debug for WireWatchEvent
Source§impl<___D> Decode<___D> for WireWatchEventwhere
___D: ?Sized,
impl<___D> Decode<___D> for WireWatchEventwhere
___D: ?Sized,
Source§impl From<WatchEvent> for WireWatchEvent
impl From<WatchEvent> for WireWatchEvent
Source§fn from(natural: WatchEvent) -> Self
fn from(natural: WatchEvent) -> Self
Converts to this type from the input type.
Source§impl From<WireWatchEvent> for WatchEvent
impl From<WireWatchEvent> for WatchEvent
Source§fn from(wire: WireWatchEvent) -> Self
fn from(wire: WireWatchEvent) -> Self
Converts to this type from the input type.
Source§impl PartialEq for WireWatchEvent
impl PartialEq for WireWatchEvent
Source§impl TakeFrom<WireWatchEvent> for WatchEvent
impl TakeFrom<WireWatchEvent> for WatchEvent
Source§fn take_from(from: &WireWatchEvent) -> Self
fn take_from(from: &WireWatchEvent) -> 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<WireWatchEvent> for WatchEvent
impl TakeFrom<WireWatchEvent> for WatchEvent
Source§fn take_from(from: &WireWatchEvent) -> Self
fn take_from(from: &WireWatchEvent) -> 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 WireWatchEvent
impl ZeroPadding for WireWatchEvent
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 WireWatchEvent
impl Eq for WireWatchEvent
impl StructuralPartialEq for WireWatchEvent
Auto Trait Implementations§
impl Freeze for WireWatchEvent
impl RefUnwindSafe for WireWatchEvent
impl Send for WireWatchEvent
impl Sync for WireWatchEvent
impl Unpin for WireWatchEvent
impl UnwindSafe for WireWatchEvent
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