Enum sea_streamer_file::format::FormatErr
source · pub enum FormatErr {
ByteMark,
Version,
ShortStringErr(ShortStringErr),
UnixTimestampErr(UnixTimestampErr),
StreamKeyErr(StreamKeyErr),
TooManyBeacon,
ChecksumErr {
received: u16,
computed: u16,
},
}
Variants§
ByteMark
Version
ShortStringErr(ShortStringErr)
UnixTimestampErr(UnixTimestampErr)
StreamKeyErr(StreamKeyErr)
TooManyBeacon
ChecksumErr
Trait Implementations§
source§impl Error for FormatErr
impl Error for FormatErr
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()
source§impl From<ShortStringErr> for FormatErr
impl From<ShortStringErr> for FormatErr
source§fn from(source: ShortStringErr) -> Self
fn from(source: ShortStringErr) -> Self
Converts to this type from the input type.
source§impl From<StreamKeyErr> for FormatErr
impl From<StreamKeyErr> for FormatErr
source§fn from(source: StreamKeyErr) -> Self
fn from(source: StreamKeyErr) -> Self
Converts to this type from the input type.
source§impl From<UnixTimestampErr> for FormatErr
impl From<UnixTimestampErr> for FormatErr
source§fn from(source: UnixTimestampErr) -> Self
fn from(source: UnixTimestampErr) -> Self
Converts to this type from the input type.
impl Copy for FormatErr
Auto Trait Implementations§
impl Freeze for FormatErr
impl RefUnwindSafe for FormatErr
impl Send for FormatErr
impl Sync for FormatErr
impl Unpin for FormatErr
impl UnwindSafe for FormatErr
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