pub enum ArrayError {
Field(&'static str),
Parse(ParseError),
Resource(Error),
UnknownGraphicsFormat(i32),
UnmappedGraphicsFormat(i32),
UnsupportedPlatform(i32),
Layout,
UnsupportedFormat(i32),
Decode(DecodeError),
Charge(ChargeError),
}Expand description
Array mapping, layout or decode failure, without allocating an error message.
Variants§
Field(&'static str)
A missing or wrongly typed object field.
Parse(ParseError)
Object parsing failed.
Resource(Error)
Resource resolution failed.
UnknownGraphicsFormat(i32)
GraphicsFormat’s enum has no such value.
UnmappedGraphicsFormat(i32)
Known enum member with no entry in UnityPy’s map.
UnsupportedPlatform(i32)
No independent reference for either platform’s array storage.
Layout
Zero/negative depth, zero step, or host-size overflow.
UnsupportedFormat(i32)
No decoder for the mapped format is linked yet.
Decode(DecodeError)
A slice failed to decode.
Charge(ChargeError)
A table or work charge was refused.
Trait Implementations§
Source§impl Debug for ArrayError
impl Debug for ArrayError
Source§impl Display for ArrayError
impl Display for ArrayError
impl Eq for ArrayError
Source§impl Error for ArrayError
impl Error for ArrayError
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<ChargeError> for ArrayError
impl From<ChargeError> for ArrayError
Source§fn from(source: ChargeError) -> Self
fn from(source: ChargeError) -> Self
Converts to this type from the input type.
Source§impl From<DecodeError> for ArrayError
impl From<DecodeError> for ArrayError
Source§fn from(source: DecodeError) -> Self
fn from(source: DecodeError) -> Self
Converts to this type from the input type.
Source§impl From<Error> for ArrayError
impl From<Error> for ArrayError
Source§impl From<ParseError> for ArrayError
impl From<ParseError> for ArrayError
Source§fn from(source: ParseError) -> Self
fn from(source: ParseError) -> Self
Converts to this type from the input type.
Source§impl PartialEq for ArrayError
impl PartialEq for ArrayError
impl StructuralPartialEq for ArrayError
Auto Trait Implementations§
impl !Freeze for ArrayError
impl !RefUnwindSafe for ArrayError
impl !UnwindSafe for ArrayError
impl Forget for ArrayError
impl Move for ArrayError
impl Send for ArrayError
impl Sync for ArrayError
impl Unpin for ArrayError
impl UnsafeUnpin for ArrayError
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