pub enum RMonitorCodecError {
RecordDecode(RecordError),
LinesCodec(LinesCodecError),
Io(Error),
}
Expand description
An error was encountered when trying to decode an RMonitor record from the input byte stream.
Variants§
RecordDecode(RecordError)
An error occured when trying to decode a Record from an otherwise valid line
LinesCodec(LinesCodecError)
The underlying LinesCodec encountered an error trying to extract a single line
Io(Error)
Trait Implementations§
Source§impl Debug for RMonitorCodecError
impl Debug for RMonitorCodecError
Source§impl Display for RMonitorCodecError
impl Display for RMonitorCodecError
Source§impl Error for RMonitorCodecError
impl Error for RMonitorCodecError
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()
Source§impl From<Error> for RMonitorCodecError
impl From<Error> for RMonitorCodecError
Source§impl From<LinesCodecError> for RMonitorCodecError
impl From<LinesCodecError> for RMonitorCodecError
Source§fn from(source: LinesCodecError) -> Self
fn from(source: LinesCodecError) -> Self
Converts to this type from the input type.
Source§impl From<RecordError> for RMonitorCodecError
impl From<RecordError> for RMonitorCodecError
Source§fn from(source: RecordError) -> Self
fn from(source: RecordError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for RMonitorCodecError
impl !RefUnwindSafe for RMonitorCodecError
impl Send for RMonitorCodecError
impl Sync for RMonitorCodecError
impl Unpin for RMonitorCodecError
impl !UnwindSafe for RMonitorCodecError
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