pub enum LineRecordError {
Io,
InvalidUtf8,
LineTooLong {
observed_bytes: usize,
max_line_bytes: usize,
},
Adapter {
code: AdapterErrorCode,
summary: String,
},
}Variants§
Trait Implementations§
Source§impl Clone for LineRecordError
impl Clone for LineRecordError
Source§fn clone(&self) -> LineRecordError
fn clone(&self) -> LineRecordError
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 LineRecordError
impl Debug for LineRecordError
Source§impl Display for LineRecordError
impl Display for LineRecordError
Source§impl Error for LineRecordError
impl Error for LineRecordError
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 LineRecordError
impl RefUnwindSafe for LineRecordError
impl Send for LineRecordError
impl Sync for LineRecordError
impl Unpin for LineRecordError
impl UnsafeUnpin for LineRecordError
impl UnwindSafe for LineRecordError
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