[−][src]Enum serde_pickle::error::ErrorCode
Variants
Unsupported(char)
Unsupported opcode
EOFWhileParsing
EOF while parsing op argument
StackUnderflow
Stack underflowed
NegativeLength
Length prefix found negative
StringNotUTF8
String decoding as UTF-8 failed
InvalidStackTop(&'static str, String)
Wrong stack top type for opcode
ValueNotHashable
Value not hashable, but used as dict key or set item
Recursive
Recursive structure found, which we don't support
UnresolvedGlobal
A "module global" reference wasn't resolved by REDUCE
UnsupportedGlobal(Vec<u8>, Vec<u8>)
A "module global" isn't supported
MissingMemo(u32)
A value was missing from the memo
InvalidLiteral(Vec<u8>)
Invalid literal found
TrailingBytes
Found trailing bytes after STOP opcode
InvalidValue(String)
Invalid value in pickle stream
Structure(String)
Structure deserialization error (e.g., unknown variant)
Trait Implementations
impl PartialEq<ErrorCode> for ErrorCode
[src]
impl Clone for ErrorCode
[src]
fn clone(&self) -> ErrorCode
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Display for ErrorCode
[src]
impl Debug for ErrorCode
[src]
Auto Trait Implementations
Blanket Implementations
impl<T, U> Into for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
impl<T> From for T
[src]
impl<T, U> TryFrom for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T> Borrow for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> BorrowMut for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T, U> TryInto for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,