pub enum AssetMapParseError {
Xml(DeError),
Field {
field: &'static str,
source: ImfTypeError,
},
}Expand description
Errors that can occur when parsing an AssetMap, PKL, OPL, or VOLINDEX.
Variants§
Xml(DeError)
The XML is structurally invalid or missing required elements.
Field
A required field contains an invalid value (bad UUID, bad hash, etc.).
Trait Implementations§
Source§impl Debug for AssetMapParseError
impl Debug for AssetMapParseError
Source§impl Display for AssetMapParseError
impl Display for AssetMapParseError
Source§impl Error for AssetMapParseError
impl Error for AssetMapParseError
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<AssetMapParseError> for ImfError
impl From<AssetMapParseError> for ImfError
Source§fn from(source: AssetMapParseError) -> Self
fn from(source: AssetMapParseError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl !RefUnwindSafe for AssetMapParseError
impl !UnwindSafe for AssetMapParseError
impl Freeze for AssetMapParseError
impl Send for AssetMapParseError
impl Sync for AssetMapParseError
impl Unpin for AssetMapParseError
impl UnsafeUnpin for AssetMapParseError
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