pub enum KeyedEntityReload {
Updated {
entity: Entity,
report: EntityUpdateReport,
},
Replayed {
entity: Entity,
},
Moved,
}Expand description
Outcome of KhiveRuntime::reload_keyed_entity.
Variants§
Updated
The holder now carries the request’s payload.
Replayed
The holder already carried the request’s payload. Nothing was written.
Moved
The key no longer names the entity the caller was cleared to update: it was released, or another entity holds it now. Nothing was written.
Trait Implementations§
Auto Trait Implementations§
impl Forget for KeyedEntityReload
impl Freeze for KeyedEntityReloadwhere
*const u8 is !null: Freeze,
PhantomData<u8>: Freeze,
PhantomData<Value>: Freeze,
*const LeafNode<String, Value> is !null: Freeze,
PhantomData<(Owned, LeafOrInternal)>: Freeze,
PhantomData<Box<(String, Value)>>: Freeze,
PhantomData<String>: Freeze,
PhantomData<EntityAlias>: Freeze,
&'static str: Freeze,
PhantomData<EntityIndexFailure>: Freeze,
PhantomData<PostCommitDegradation>: Freeze,
impl Move for KeyedEntityReload
impl RefUnwindSafe for KeyedEntityReload
impl Send for KeyedEntityReload
impl Sync for KeyedEntityReload
impl Unpin for KeyedEntityReload
impl UnsafeUnpin for KeyedEntityReloadwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<Value>: UnsafeUnpin,
*const LeafNode<String, Value> is !null: UnsafeUnpin,
PhantomData<(Owned, LeafOrInternal)>: UnsafeUnpin,
PhantomData<Box<(String, Value)>>: UnsafeUnpin,
PhantomData<String>: UnsafeUnpin,
PhantomData<EntityAlias>: UnsafeUnpin,
&'static str: UnsafeUnpin,
PhantomData<EntityIndexFailure>: UnsafeUnpin,
PhantomData<PostCommitDegradation>: UnsafeUnpin,
impl UnwindSafe for KeyedEntityReload
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more