pub enum GetDeclarationError {
Fidl(Error),
InstanceNotFound(Moniker),
InstanceNotResolved(Moniker),
BadMoniker(Moniker),
EncodeFailed,
BadChildLocation(ChildLocation),
BadUrl(String),
InvalidManifest(ErrorList),
UnknownError,
}
Variants§
Fidl(Error)
InstanceNotFound(Moniker)
InstanceNotResolved(Moniker)
BadMoniker(Moniker)
EncodeFailed
BadChildLocation(ChildLocation)
BadUrl(String)
InvalidManifest(ErrorList)
UnknownError
Trait Implementations§
Source§impl Debug for GetDeclarationError
impl Debug for GetDeclarationError
Source§impl Display for GetDeclarationError
impl Display for GetDeclarationError
Source§impl Error for GetDeclarationError
impl Error for GetDeclarationError
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<Error> for GetDeclarationError
impl From<Error> for GetDeclarationError
Source§impl From<ErrorList> for GetDeclarationError
impl From<ErrorList> for GetDeclarationError
Source§impl From<GetDeclarationError> for ConfigResolveError
impl From<GetDeclarationError> for ConfigResolveError
Source§fn from(source: GetDeclarationError) -> Self
fn from(source: GetDeclarationError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for GetDeclarationError
impl !RefUnwindSafe for GetDeclarationError
impl Send for GetDeclarationError
impl Sync for GetDeclarationError
impl Unpin for GetDeclarationError
impl !UnwindSafe for GetDeclarationError
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