Enum kerbalobjects::errors::KOSValueParseError
source · pub enum KOSValueParseError {
EOF,
InvalidType(u8),
}
Expand description
An error type that describes an error while just parsing a KOSValue
Variants§
EOF
Error running out of bytes while reading KOSValue
InvalidType(u8)
Error reading invalid KOSValue type
Trait Implementations§
source§impl Clone for KOSValueParseError
impl Clone for KOSValueParseError
source§fn clone(&self) -> KOSValueParseError
fn clone(&self) -> KOSValueParseError
Returns a copy 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 KOSValueParseError
impl Debug for KOSValueParseError
source§impl Display for KOSValueParseError
impl Display for KOSValueParseError
source§impl Error for KOSValueParseError
impl Error for KOSValueParseError
1.30.0 · 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()
impl Copy for KOSValueParseError
Auto Trait Implementations§
impl RefUnwindSafe for KOSValueParseError
impl Send for KOSValueParseError
impl Sync for KOSValueParseError
impl Unpin for KOSValueParseError
impl UnwindSafe for KOSValueParseError
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