pub enum StartReason {
AccessCapability {
target: Moniker,
name: Name,
},
OutgoingDirectory,
SingleRun,
Debug,
Eager,
Root,
StorageAdmin,
Controller,
}Expand description
Describes the reason a component instance is being requested to start.
Variants§
AccessCapability
Indicates that the target is starting the component because it wishes to access the capability at path.
OutgoingDirectory
Indicates that the component is starting because of a request to its outgoing directory.
SingleRun
Indicates that the component is starting because it is in a single-run collection.
Debug
Indicates that the component was explicitly started for debugging purposes.
Eager
Indicates that the component was marked as eagerly starting by the parent.
Root
Indicates that this component is starting because it is the root component.
StorageAdmin
Storage administration is occurring on this component.
Controller
Indicates that this component is starting because the client of a
fuchsia.component.Controller connection has called Start()
Implementations§
Trait Implementations§
Source§impl Clone for StartReason
impl Clone for StartReason
Source§impl Debug for StartReason
impl Debug for StartReason
Source§impl Display for StartReason
impl Display for StartReason
impl Eq for StartReason
Source§impl Hash for StartReason
impl Hash for StartReason
Source§impl PartialEq for StartReason
impl PartialEq for StartReason
impl StructuralPartialEq for StartReason
Auto Trait Implementations§
impl Freeze for StartReason
impl RefUnwindSafe for StartReason
impl Send for StartReason
impl Sync for StartReason
impl Unpin for StartReason
impl UnsafeUnpin for StartReason
impl UnwindSafe for StartReason
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T, D> Encode<Ambiguous1, D> for Twhere
D: ResourceDialect,
impl<T, D> Encode<Ambiguous1, D> for Twhere
D: ResourceDialect,
§impl<T, D> Encode<Ambiguous2, D> for Twhere
D: ResourceDialect,
impl<T, D> Encode<Ambiguous2, D> for Twhere
D: ResourceDialect,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.§impl<F, N> FidlIntoNative<Box<N>> for Fwhere
F: FidlIntoNative<N>,
impl<F, N> FidlIntoNative<Box<N>> for Fwhere
F: FidlIntoNative<N>,
fn fidl_into_native(self) -> Box<N>
§impl<T> IntoAny for T
impl<T> IntoAny for T
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