#[repr(u8)]pub enum CRSerializationError {
Show 17 variants
TailInvalid = 0,
HeadInvalid = 1,
TrackerDelimiterInvalid = 2,
TofDelimiterInvalid = 3,
StreamTooShort = 4,
StreamTooLong = 5,
ValueNotFound = 6,
EventFragment = 7,
UnknownPayload = 8,
IncorrectPacketType = 9,
IncorrectScleriteType = 10,
WrongByteSize = 11,
JsonDecodingError = 12,
TomlDecodingError = 13,
Disconnected = 14,
UnknownError = 15,
ObjectNotFound = 16,
}Expand description
Indicate issues with (de)serialization
Variants§
TailInvalid = 0
HeadInvalid = 1
TrackerDelimiterInvalid = 2
TofDelimiterInvalid = 3
StreamTooShort = 4
StreamTooLong = 5
ValueNotFound = 6
EventFragment = 7
UnknownPayload = 8
IncorrectPacketType = 9
IncorrectScleriteType = 10
WrongByteSize = 11
JsonDecodingError = 12
TomlDecodingError = 13
Disconnected = 14
UnknownError = 15
ObjectNotFound = 16
Implementations§
Trait Implementations§
Source§impl Clone for CRSerializationError
impl Clone for CRSerializationError
Source§fn clone(&self) -> CRSerializationError
fn clone(&self) -> CRSerializationError
Returns a duplicate 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 CRSerializationError
impl Debug for CRSerializationError
Source§impl Display for CRSerializationError
impl Display for CRSerializationError
Source§impl Error for CRSerializationError
impl Error for CRSerializationError
1.30.0 · 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()
impl Copy for CRSerializationError
Auto Trait Implementations§
impl Freeze for CRSerializationError
impl RefUnwindSafe for CRSerializationError
impl Send for CRSerializationError
impl Sync for CRSerializationError
impl Unpin for CRSerializationError
impl UnwindSafe for CRSerializationError
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