pub enum TimelineCodecError {
UnsupportedVersion(u16),
UnknownKind(String),
KindBodyMismatch {
kind: TimelineOperationKind,
body: TimelineOperationKind,
},
Encoding(String),
Decoding(String),
}Expand description
Timeline operation codec error.
Variants§
Trait Implementations§
Source§impl Debug for TimelineCodecError
impl Debug for TimelineCodecError
Source§impl Display for TimelineCodecError
impl Display for TimelineCodecError
Source§impl Error for TimelineCodecError
impl Error for TimelineCodecError
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()
Auto Trait Implementations§
impl Freeze for TimelineCodecError
impl RefUnwindSafe for TimelineCodecError
impl Send for TimelineCodecError
impl Sync for TimelineCodecError
impl Unpin for TimelineCodecError
impl UnsafeUnpin for TimelineCodecError
impl UnwindSafe for TimelineCodecError
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