Struct esl::read::ReadRecordError
source · pub struct ReadRecordError { /* private fields */ }
Implementations§
source§impl ReadRecordError
impl ReadRecordError
pub fn as_io_error(&self) -> &Error
pub fn into_io_error(self) -> Error
pub fn as_bytes(&self) -> &[u8] ⓘ
pub fn into_bytes(self) -> Vec<u8>
pub fn into_tuple(self) -> (Either<RecordError, Error>, Vec<u8>)
pub fn source(&self) -> Either<&RecordError, &Error>
pub fn into_source(self) -> Either<RecordError, Error>
Trait Implementations§
source§impl Debug for ReadRecordError
impl Debug for ReadRecordError
source§impl Error for ReadRecordError
impl Error for ReadRecordError
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<ReadRecordError> for Error
impl From<ReadRecordError> for Error
source§fn from(e: ReadRecordError) -> Error
fn from(e: ReadRecordError) -> Error
Converts to this type from the input type.
Auto Trait Implementations§
impl !RefUnwindSafe for ReadRecordError
impl Send for ReadRecordError
impl Sync for ReadRecordError
impl Unpin for ReadRecordError
impl !UnwindSafe for ReadRecordError
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