Enum holochain_types::app::InstalledApp [−][src]
pub enum InstalledApp { Active(ActiveApp), Inactive(InactiveApp), }
Expand description
An app which has been installed. An installed app is merely its collection of “slots”, associated with an ID.
Variants
Active(ActiveApp)
An active app
Inactive(InactiveApp)
An inactive app
Implementations
Constructor for freshly installed app
Constructor for freshly installed app
Return the common app info, as well as a status which encodes the remaining information
Return the status
Methods from Deref<Target = InstalledAppCommon>
Accessor
Accessor
Iterator of all cells, both provisioned and cloned
Accessor
Trait Implementations
Performs the conversion.
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 InstalledApp
impl Send for InstalledApp
impl Sync for InstalledApp
impl Unpin for InstalledApp
impl UnwindSafe for InstalledApp
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
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
type Output = T
type Output = T
Should always be Self
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