pub struct CreationResolved<N> {
pub nonce: N,
pub kind: CreationKind<N>,
pub result: Result<(), CreationRejection>,
}Expand description
The committed result of one staged crate::Create request.
Installed is emitted only after fresh allocation, successful
initialization, and binding at nonce. The replacement provenance is the
provenance supplied by Behavior; an interpreter must never infer it from
address reuse or creation order.
Fields§
§nonce: N§kind: CreationKind<N>§result: Result<(), CreationRejection>Implementations§
Source§impl<N> CreationResolved<N>
impl<N> CreationResolved<N>
pub const fn new( nonce: N, kind: CreationKind<N>, result: Result<(), CreationRejection>, ) -> Self
pub const fn installed(nonce: N, kind: CreationKind<N>) -> Self
Sourcepub const fn replacement_incarnation(nonce: N, replaces: N) -> Self
pub const fn replacement_incarnation(nonce: N, replaces: N) -> Self
A successfully committed replacement incarnation.
pub const fn rejected( nonce: N, kind: CreationKind<N>, rejection: CreationRejection, ) -> Self
Trait Implementations§
Source§impl<N: Clone> Clone for CreationResolved<N>
impl<N: Clone> Clone for CreationResolved<N>
Source§fn clone(&self) -> CreationResolved<N>
fn clone(&self) -> CreationResolved<N>
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<N: Debug> Debug for CreationResolved<N>
impl<N: Debug> Debug for CreationResolved<N>
Source§impl<E: UserEvent> EventInput<CreationResolved<<<E as UserEvent>::Addr as Address>::Nonce>> for ProxyEvent<E>
impl<E: UserEvent> EventInput<CreationResolved<<<E as UserEvent>::Addr as Address>::Nonce>> for ProxyEvent<E>
Source§impl<E> EventInput<CreationResolved<<<E as UserEvent>::Addr as Address>::Nonce>> for ShutdownProtocol<E>
impl<E> EventInput<CreationResolved<<<E as UserEvent>::Addr as Address>::Nonce>> for ShutdownProtocol<E>
Source§impl<E: UserEvent> EventInput<CreationResolved<<<E as UserEvent>::Addr as Address>::Nonce>> for SupervisionEvent<E>
impl<E: UserEvent> EventInput<CreationResolved<<<E as UserEvent>::Addr as Address>::Nonce>> for SupervisionEvent<E>
Source§impl<E> EventInput<CreationResolved<<<E as UserEvent>::Addr as Address>::Nonce>> for TimedEvent<E>
impl<E> EventInput<CreationResolved<<<E as UserEvent>::Addr as Address>::Nonce>> for TimedEvent<E>
Source§impl<E> EventInput<CreationResolved<<<E as UserEvent>::Addr as Address>::Nonce>> for WatchEvent<E>
impl<E> EventInput<CreationResolved<<<E as UserEvent>::Addr as Address>::Nonce>> for WatchEvent<E>
Source§impl<N> From<CreationResolved<N>> for ReportWorkerCreationResolved<N>
impl<N> From<CreationResolved<N>> for ReportWorkerCreationResolved<N>
Source§fn from(resolved: CreationResolved<N>) -> Self
fn from(resolved: CreationResolved<N>) -> Self
Converts to this type from the input type.
Source§impl<N: PartialEq> PartialEq for CreationResolved<N>
impl<N: PartialEq> PartialEq for CreationResolved<N>
impl<N: Copy> Copy for CreationResolved<N>
impl<N: Eq> Eq for CreationResolved<N>
impl<N> StructuralPartialEq for CreationResolved<N>
Auto Trait Implementations§
impl<N> Freeze for CreationResolved<N>where
N: Freeze,
impl<N> RefUnwindSafe for CreationResolved<N>where
N: RefUnwindSafe,
impl<N> Send for CreationResolved<N>where
N: Send,
impl<N> Sync for CreationResolved<N>where
N: Sync,
impl<N> Unpin for CreationResolved<N>where
N: Unpin,
impl<N> UnsafeUnpin for CreationResolved<N>where
N: UnsafeUnpin,
impl<N> UnwindSafe for CreationResolved<N>where
N: UnwindSafe,
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