Enum holochain_types::app::AppStatusFx [−][src]
pub enum AppStatusFx {
NoChange,
SpinDown,
SpinUp,
Both,
}
Expand description
A declaration of the side effects of a particular AppStatusTransition.
Two values of this type may also be combined into one, to capture the overall effect of a series of transitions.
The intent of this type is to make sure that any operation which causes an app state transition is followed up with a call to process_app_status_fx in order to reconcile the cell state with the new app state.
Variants
The transition did not result in any change to CellState.
The transition may cause some Cells to be removed.
The transition may cause some Cells to be added (fallibly).
The transition may cause some Cells to be removed and some to be (fallibly) added.
Implementations
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for AppStatusFx
impl Send for AppStatusFx
impl Sync for AppStatusFx
impl Unpin for AppStatusFx
impl UnwindSafe for AppStatusFx
Blanket Implementations
fn type_id_compat(&self) -> TypeId
fn type_id_compat(&self) -> TypeId
TODO: once 1.33.0 is the minimum supported compiler version, remove Any::type_id_compat and use StdAny::type_id instead. https://github.com/rust-lang/rust/issues/27745 Read more
Mutably borrows from an owned value. Read more
Compare self to key
and return true
if they are equal.
fn with_context(self, otel_cx: Context) -> WithContext<Self>
fn with_context(self, otel_cx: Context) -> WithContext<Self>
fn with_current_context(self) -> WithContext<Self>
fn with_current_context(self) -> WithContext<Self>
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more