pub struct EventPhase { /* private fields */ }Expand description
The wire type corresponding to EventPhase.
Implementations§
Source§impl EventPhase
impl EventPhase
pub const ADD: EventPhase
pub const CHANGE: EventPhase
pub const REMOVE: EventPhase
pub const CANCEL: EventPhase
Trait Implementations§
Source§impl Clone for EventPhase
impl Clone for EventPhase
Source§fn clone(&self) -> EventPhase
fn clone(&self) -> EventPhase
Returns a duplicate 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 Constrained for EventPhase
impl Constrained for EventPhase
Source§type Constraint = ()
type Constraint = ()
Type of constraint information for this type.
Source§fn validate(
_: Slot<'_, EventPhase>,
_: <EventPhase as Constrained>::Constraint,
) -> Result<(), ValidationError>
fn validate( _: Slot<'_, EventPhase>, _: <EventPhase as Constrained>::Constraint, ) -> Result<(), ValidationError>
Validate a slot of this type against a constraint. Can be called when
pointers/envelopes are just presence markers.
Source§impl Debug for EventPhase
impl Debug for EventPhase
Source§impl<___D> Decode<___D> for EventPhasewhere
___D: ?Sized,
impl<___D> Decode<___D> for EventPhasewhere
___D: ?Sized,
Source§impl<'a, ___E> Encode<EventPhase, ___E> for &'a EventPhasewhere
___E: ?Sized,
impl<'a, ___E> Encode<EventPhase, ___E> for &'a EventPhasewhere
___E: ?Sized,
Source§fn encode(
self,
encoder: &mut ___E,
out: &mut MaybeUninit<EventPhase>,
_: (),
) -> Result<(), EncodeError>
fn encode( self, encoder: &mut ___E, out: &mut MaybeUninit<EventPhase>, _: (), ) -> Result<(), EncodeError>
Encodes this value into an encoder and output.
§const COPY_OPTIMIZATION: CopyOptimization<Self, W> = _
const COPY_OPTIMIZATION: CopyOptimization<Self, W> = _
Source§impl<___E> Encode<EventPhase, ___E> for EventPhasewhere
___E: ?Sized,
impl<___E> Encode<EventPhase, ___E> for EventPhasewhere
___E: ?Sized,
Source§fn encode(
self,
encoder: &mut ___E,
out: &mut MaybeUninit<EventPhase>,
_: (),
) -> Result<(), EncodeError>
fn encode( self, encoder: &mut ___E, out: &mut MaybeUninit<EventPhase>, _: (), ) -> Result<(), EncodeError>
Encodes this value into an encoder and output.
§const COPY_OPTIMIZATION: CopyOptimization<Self, W> = _
const COPY_OPTIMIZATION: CopyOptimization<Self, W> = _
Source§impl From<EventPhase> for EventPhase
impl From<EventPhase> for EventPhase
Source§fn from(wire: EventPhase) -> EventPhase
fn from(wire: EventPhase) -> EventPhase
Converts to this type from the input type.
Source§impl From<EventPhase> for EventPhase
impl From<EventPhase> for EventPhase
Source§fn from(natural: EventPhase) -> EventPhase
fn from(natural: EventPhase) -> EventPhase
Converts to this type from the input type.
Source§impl FromWire<EventPhase> for EventPhase
impl FromWire<EventPhase> for EventPhase
Source§fn from_wire(wire: EventPhase) -> EventPhase
fn from_wire(wire: EventPhase) -> EventPhase
Converts the given owned value to this type.
§const COPY_OPTIMIZATION: CopyOptimization<W, Self> = _
const COPY_OPTIMIZATION: CopyOptimization<W, Self> = _
Source§impl FromWireRef<EventPhase> for EventPhase
impl FromWireRef<EventPhase> for EventPhase
Source§fn from_wire_ref(wire: &EventPhase) -> EventPhase
fn from_wire_ref(wire: &EventPhase) -> EventPhase
Converts the given reference to this type.
Source§impl IntoNatural for EventPhase
impl IntoNatural for EventPhase
Source§type Natural = EventPhase
type Natural = EventPhase
A good default type for this wire type to convert into.
§fn into_natural(self) -> Self::Natural
fn into_natural(self) -> Self::Natural
Converts this type into its natural equivalent.
Source§impl PartialEq for EventPhase
impl PartialEq for EventPhase
Source§impl Wire for EventPhase
impl Wire for EventPhase
Source§type Narrowed<'de> = EventPhase
type Narrowed<'de> = EventPhase
The narrowed wire type, restricted to the
'de lifetime.Source§fn zero_padding(_: &mut MaybeUninit<EventPhase>)
fn zero_padding(_: &mut MaybeUninit<EventPhase>)
Writes zeroes to the padding for this type, if any.
impl Copy for EventPhase
impl Eq for EventPhase
impl StructuralPartialEq for EventPhase
Auto Trait Implementations§
impl Freeze for EventPhase
impl RefUnwindSafe for EventPhase
impl Send for EventPhase
impl Sync for EventPhase
impl Unpin for EventPhase
impl UnsafeUnpin for EventPhase
impl UnwindSafe for EventPhase
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T> InstanceFromServiceTransport<T> for T
impl<T> InstanceFromServiceTransport<T> for T
§fn from_service_transport(handle: T) -> T
fn from_service_transport(handle: T) -> T
Converts the given service transport handle of type
T to [Self]