Enum fuchsia_pkg::MetaContentsError
source · pub enum MetaContentsError {
InvalidResourcePath {
cause: ResourcePathError,
path: String,
},
ExternalContentInMetaDirectory {
path: String,
},
EntryHasNoEqualsSign {
entry: String,
},
DuplicateResourcePath {
path: String,
},
IoError(Error),
ParseHash(ParseHashError),
FileDirectoryCollision {
path: String,
},
}
Variants§
InvalidResourcePath
ExternalContentInMetaDirectory
EntryHasNoEqualsSign
DuplicateResourcePath
IoError(Error)
ParseHash(ParseHashError)
FileDirectoryCollision
Trait Implementations§
source§impl Debug for MetaContentsError
impl Debug for MetaContentsError
source§impl Display for MetaContentsError
impl Display for MetaContentsError
source§impl Error for MetaContentsError
impl Error for MetaContentsError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
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 MetaContentsError
impl From<Error> for MetaContentsError
source§impl From<MetaContentsError> for BuildError
impl From<MetaContentsError> for BuildError
source§fn from(source: MetaContentsError) -> Self
fn from(source: MetaContentsError) -> Self
Converts to this type from the input type.
source§impl From<MetaContentsError> for PackageManifestError
impl From<MetaContentsError> for PackageManifestError
source§fn from(source: MetaContentsError) -> Self
fn from(source: MetaContentsError) -> Self
Converts to this type from the input type.
source§impl From<ParseHashError> for MetaContentsError
impl From<ParseHashError> for MetaContentsError
source§fn from(source: ParseHashError) -> Self
fn from(source: ParseHashError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for MetaContentsError
impl !RefUnwindSafe for MetaContentsError
impl Send for MetaContentsError
impl Sync for MetaContentsError
impl Unpin for MetaContentsError
impl !UnwindSafe for MetaContentsError
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