Struct holochain_types::app::StoppedApp [−][src]
pub struct StoppedApp { /* fields omitted */ }
Expand description
An app which is either Paused or Disabled, i.e. not Running
Implementations
👎 Deprecated: should only be constructable through conversions from other types
should only be constructable through conversions from other types
Constructor
Constructor
If the app is Stopped, convert into a StoppedApp. Returns None if app is Running.
Convert to a RunningApp
Move inner type out
Methods from Deref<Target = InstalledAppCommon>
Accessor
Accessor
Iterator of all cells, both provisioned and cloned
Iterator of all “required” cells, meaning Cells which must be running for this App to be able to run. The notion of “required cells” is not yet solidified, so for now this placeholder equates to “all cells”.
Accessor for particular role
Accessor
Add a cloned cell
Remove a cloned cell
Accessor
Trait Implementations
Performs the conversion.
Performs the conversion.
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more
type Target = InstalledAppCommon
type Target = InstalledAppCommon
The resulting type after dereferencing.
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Performs the conversion.
Performs the conversion.
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for StoppedApp
impl Send for StoppedApp
impl Sync for StoppedApp
impl Unpin for StoppedApp
impl UnwindSafe for StoppedApp
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