Enum ck3save::Ck3ErrorKind
source · [−]pub enum Ck3ErrorKind {
ZipCentralDirectory(ZipError),
ZipMissingEntry(&'static str, ZipError),
ZipExtraction(&'static str, IoError),
ZipSize(&'static str),
IoErr(IoError),
UnknownHeader,
UnknownToken {
token_id: u16,
},
Deserialize {
part: Option<String>,
err: Error,
},
}
Expand description
Specific type of error
Variants
ZipCentralDirectory(ZipError)
ZipMissingEntry(&'static str, ZipError)
ZipExtraction(&'static str, IoError)
ZipSize(&'static str)
IoErr(IoError)
UnknownHeader
UnknownToken
Fields
token_id: u16
Deserialize
Trait Implementations
sourceimpl Debug for Ck3ErrorKind
impl Debug for Ck3ErrorKind
sourceimpl From<Ck3ErrorKind> for Ck3Error
impl From<Ck3ErrorKind> for Ck3Error
sourcefn from(err: Ck3ErrorKind) -> Self
fn from(err: Ck3ErrorKind) -> Self
Converts to this type from the input type.
Auto Trait Implementations
impl !RefUnwindSafe for Ck3ErrorKind
impl Send for Ck3ErrorKind
impl Sync for Ck3ErrorKind
impl Unpin for Ck3ErrorKind
impl !UnwindSafe for Ck3ErrorKind
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more