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
§
err: ComponentInstanceError
PkgDirError
Fields
§
err: PkgDirError
EventSourceError(EventSourceError)
ComponentProviderError
Fields
CmNamespaceError
Fields
§
err: ClonableError
RouterError
Fields
§
err: RouterError
RoutingError(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 copy 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§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
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§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)