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 Resolvers 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 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 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§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,
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