pub enum CapabilityProviderError {
BadPath,
ComponentInstanceError {
err: ComponentInstanceError,
},
PkgDirError {
err: PkgDirError,
},
EventSourceError(EventSourceError),
ComponentProviderError {
err: ComponentProviderError,
},
CmNamespaceError {
err: ClonableError,
},
RouterError {
err: RouterError,
},
RoutingError(RoutingError),
VfsOpenError(Status),
}Variants§
BadPath
ComponentInstanceError
Fields
PkgDirError
Fields
§
err: PkgDirErrorEventSourceError(EventSourceError)
ComponentProviderError
Fields
CmNamespaceError
Fields
§
err: ClonableErrorRouterError
Fields
§
err: RouterErrorRoutingError(RoutingError)
VfsOpenError(Status)
Implementations§
Source§impl CapabilityProviderError
impl CapabilityProviderError
pub fn as_zx_status(&self) -> Status
Trait Implementations§
Source§impl Clone for CapabilityProviderError
impl Clone for CapabilityProviderError
Source§fn clone(&self) -> CapabilityProviderError
fn clone(&self) -> CapabilityProviderError
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for CapabilityProviderError
impl Debug for CapabilityProviderError
Source§impl Display for CapabilityProviderError
impl Display for CapabilityProviderError
Source§impl Error for CapabilityProviderError
impl Error for CapabilityProviderError
Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
Source§impl From<CapabilityProviderError> for ModelError
impl From<CapabilityProviderError> for ModelError
Source§fn from(source: CapabilityProviderError) -> Self
fn from(source: CapabilityProviderError) -> Self
Converts to this type from the input type.
Source§impl From<CapabilityProviderError> for OpenError
impl From<CapabilityProviderError> for OpenError
Source§fn from(source: CapabilityProviderError) -> Self
fn from(source: CapabilityProviderError) -> Self
Converts to this type from the input type.
Source§impl From<ClonableError> for CapabilityProviderError
impl From<ClonableError> for CapabilityProviderError
Source§fn from(source: ClonableError) -> Self
fn from(source: ClonableError) -> Self
Converts to this type from the input type.
Source§impl From<ComponentInstanceError> for CapabilityProviderError
impl From<ComponentInstanceError> for CapabilityProviderError
Source§fn from(source: ComponentInstanceError) -> Self
fn from(source: ComponentInstanceError) -> Self
Converts to this type from the input type.
Source§impl From<ComponentProviderError> for CapabilityProviderError
impl From<ComponentProviderError> for CapabilityProviderError
Source§fn from(source: ComponentProviderError) -> Self
fn from(source: ComponentProviderError) -> Self
Converts to this type from the input type.
Source§impl From<EventSourceError> for CapabilityProviderError
impl From<EventSourceError> for CapabilityProviderError
Source§fn from(source: EventSourceError) -> Self
fn from(source: EventSourceError) -> Self
Converts to this type from the input type.
Source§impl From<PkgDirError> for CapabilityProviderError
impl From<PkgDirError> for CapabilityProviderError
Source§fn from(source: PkgDirError) -> Self
fn from(source: PkgDirError) -> Self
Converts to this type from the input type.
Source§impl From<RouterError> for CapabilityProviderError
impl From<RouterError> for CapabilityProviderError
Source§fn from(source: RouterError) -> Self
fn from(source: RouterError) -> Self
Converts to this type from the input type.
Source§impl From<RoutingError> for CapabilityProviderError
impl From<RoutingError> for CapabilityProviderError
Source§fn from(source: RoutingError) -> Self
fn from(source: RoutingError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for CapabilityProviderError
impl !RefUnwindSafe for CapabilityProviderError
impl Send for CapabilityProviderError
impl Sync for CapabilityProviderError
impl Unpin for CapabilityProviderError
impl !UnwindSafe for CapabilityProviderError
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,
Source§impl<T, D> Encode<Ambiguous1, D> for Twhere
D: ResourceDialect,
impl<T, D> Encode<Ambiguous1, D> for Twhere
D: ResourceDialect,
Source§impl<T, D> Encode<Ambiguous2, D> for Twhere
D: ResourceDialect,
impl<T, D> Encode<Ambiguous2, D> for Twhere
D: ResourceDialect,
§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