pub enum ResolverError {
Show 20 variants
Internal(ClonableError),
Io(ClonableError),
ManifestNotFound(ClonableError),
PackageNotFound(ClonableError),
ManifestInvalid(ClonableError),
ConfigValuesInvalid(ClonableError),
AbiRevisionNotFound,
AbiRevisionInvalid(ClonableError),
ConfigValuesIo(Status),
SchemeNotRegistered,
MalformedUrl(ClonableError),
NoParentContext(ClonableError),
PackageUrlMissing,
PackageDirectoryMissing,
RelativeUrlNotExpected(String),
RoutingError(ClonableError),
RelativeUrlMissingContext(String),
UnexpectedRelativePath(String),
RemoteInvalidData,
FidlError(ClonableError),
}
Expand description
Errors produced by built-in Resolver
s and resolving
APIs.
Variants§
Internal(ClonableError)
Io(ClonableError)
ManifestNotFound(ClonableError)
PackageNotFound(ClonableError)
ManifestInvalid(ClonableError)
ConfigValuesInvalid(ClonableError)
AbiRevisionNotFound
AbiRevisionInvalid(ClonableError)
ConfigValuesIo(Status)
SchemeNotRegistered
MalformedUrl(ClonableError)
NoParentContext(ClonableError)
PackageUrlMissing
PackageDirectoryMissing
RelativeUrlNotExpected(String)
RoutingError(ClonableError)
RelativeUrlMissingContext(String)
UnexpectedRelativePath(String)
RemoteInvalidData
FidlError(ClonableError)
Implementations§
Source§impl ResolverError
impl ResolverError
pub fn as_zx_status(&self) -> Status
pub fn internal(err: impl Into<Error>) -> Self
pub fn io(err: impl Into<Error>) -> Self
pub fn manifest_not_found(err: impl Into<Error>) -> Self
pub fn package_not_found(err: impl Into<Error>) -> Self
pub fn manifest_invalid(err: impl Into<Error>) -> Self
pub fn config_values_invalid(err: impl Into<Error>) -> Self
pub fn abi_revision_invalid(err: impl Into<Error>) -> Self
pub fn malformed_url(err: impl Into<Error>) -> Self
pub fn no_parent_context(err: impl Into<Error>) -> Self
pub fn routing_error(err: impl Into<Error>) -> Self
pub fn fidl_error(err: impl Into<Error>) -> Self
Trait Implementations§
Source§impl Clone for ResolverError
impl Clone for ResolverError
Source§fn clone(&self) -> ResolverError
fn clone(&self) -> ResolverError
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 ResolverError
impl Debug for ResolverError
Source§impl Display for ResolverError
impl Display for ResolverError
Source§impl Error for ResolverError
impl Error for ResolverError
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<ComponentInstanceError> for ResolverError
impl From<ComponentInstanceError> for ResolverError
Source§fn from(err: ComponentInstanceError) -> ResolverError
fn from(err: ComponentInstanceError) -> ResolverError
Converts to this type from the input type.
Source§impl From<ResolverError> for ResolverError
impl From<ResolverError> for ResolverError
Source§fn from(err: ResolverError) -> ResolverError
fn from(err: ResolverError) -> ResolverError
Converts to this type from the input type.
Source§impl From<ResolverError> for ResolverError
impl From<ResolverError> for ResolverError
Source§fn from(err: ResolverError) -> ResolverError
fn from(err: ResolverError) -> ResolverError
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for ResolverError
impl RefUnwindSafe for ResolverError
impl Send for ResolverError
impl Sync for ResolverError
impl Unpin for ResolverError
impl UnwindSafe for ResolverError
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
)