pub enum AssetManifestError {
Read(Error),
Decode(Error),
UnsupportedSchema(u8),
MissingIdentity,
InvalidPublicPath(String),
UnsafeAsset(String),
DuplicateAsset(String),
UnknownAsset(String),
ContractMismatch {
expected: String,
actual: String,
},
}Variants§
Read(Error)
Decode(Error)
UnsupportedSchema(u8)
MissingIdentity
InvalidPublicPath(String)
UnsafeAsset(String)
DuplicateAsset(String)
UnknownAsset(String)
ContractMismatch
Trait Implementations§
Source§impl Debug for AssetManifestError
impl Debug for AssetManifestError
Source§impl Display for AssetManifestError
impl Display for AssetManifestError
Source§impl Error for AssetManifestError
impl Error for AssetManifestError
1.30.0 · 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()
Auto Trait Implementations§
impl !RefUnwindSafe for AssetManifestError
impl !UnwindSafe for AssetManifestError
impl Freeze for AssetManifestError
impl Send for AssetManifestError
impl Sync for AssetManifestError
impl Unpin for AssetManifestError
impl UnsafeUnpin for AssetManifestError
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