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 FromWire<WireWatchEvent> for WatchEvent
impl FromWire<WireWatchEvent> for WatchEvent
Source§fn from_wire(wire: WireWatchEvent) -> Self
fn from_wire(wire: WireWatchEvent) -> Self
Converts the given
wire
to this type.§const COPY_OPTIMIZATION: CopyOptimization<W, Self> = _
const COPY_OPTIMIZATION: CopyOptimization<W, Self> = _
Source§impl FromWireRef<WireWatchEvent> for WatchEvent
impl FromWireRef<WireWatchEvent> for WatchEvent
Source§fn from_wire_ref(wire: &WireWatchEvent) -> Self
fn from_wire_ref(wire: &WireWatchEvent) -> Self
Converts the given
wire
reference to this type.Source§impl PartialEq for WireWatchEvent
impl PartialEq for WireWatchEvent
Source§impl Wire for WireWatchEvent
impl Wire for WireWatchEvent
Source§type Decoded<'de> = WireWatchEvent
type Decoded<'de> = WireWatchEvent
The decoded wire type, restricted to the
'de
lifetime.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