pub enum ComponentProviderError {
SourceStartError {
err: ActionError,
},
OpenOutgoingDirError {
err: OpenOutgoingDirError,
},
}
Variants§
Implementations§
Source§impl ComponentProviderError
impl ComponentProviderError
pub fn as_zx_status(&self) -> Status
Trait Implementations§
Source§impl Clone for ComponentProviderError
impl Clone for ComponentProviderError
Source§fn clone(&self) -> ComponentProviderError
fn clone(&self) -> ComponentProviderError
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 ComponentProviderError
impl Debug for ComponentProviderError
Source§impl Display for ComponentProviderError
impl Display for ComponentProviderError
Source§impl Error for ComponentProviderError
impl Error for ComponentProviderError
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<ActionError> for ComponentProviderError
impl From<ActionError> for ComponentProviderError
Source§fn from(source: ActionError) -> Self
fn from(source: ActionError) -> 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<OpenOutgoingDirError> for ComponentProviderError
impl From<OpenOutgoingDirError> for ComponentProviderError
Source§fn from(source: OpenOutgoingDirError) -> Self
fn from(source: OpenOutgoingDirError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for ComponentProviderError
impl !RefUnwindSafe for ComponentProviderError
impl Send for ComponentProviderError
impl Sync for ComponentProviderError
impl Unpin for ComponentProviderError
impl !UnwindSafe for ComponentProviderError
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
)