Enum tokio_util::codec::AnyDelimiterCodecError [−][src]
pub enum AnyDelimiterCodecError { MaxChunkLengthExceeded, Io(Error), }
This is supported on crate feature
codec
only.Expand description
An error occured while encoding or decoding a chunk.
Variants
Expand description
The maximum chunk length was exceeded.
Io(Error)
Expand description
An IO error occurred.
Trait Implementations
impl Debug for AnyDelimiterCodecError
[src]
impl Debug for AnyDelimiterCodecError
[src]impl Display for AnyDelimiterCodecError
[src]
impl Display for AnyDelimiterCodecError
[src]impl Error for AnyDelimiterCodecError
[src]
impl Error for AnyDelimiterCodecError
[src]fn source(&self) -> Option<&(dyn Error + 'static)>
1.30.0[src]
fn source(&self) -> Option<&(dyn Error + 'static)>
1.30.0[src]The lower-level source of this error, if any. Read more
fn backtrace(&self) -> Option<&Backtrace>
[src]
fn backtrace(&self) -> Option<&Backtrace>
[src]🔬 This is a nightly-only experimental API. (
backtrace
)Returns a stack backtrace, if available, of where this error occurred. Read more
fn description(&self) -> &str
1.0.0[src]
fn description(&self) -> &str
1.0.0[src]👎 Deprecated since 1.42.0:
use the Display impl or to_string()
impl From<Error> for AnyDelimiterCodecError
[src]
impl From<Error> for AnyDelimiterCodecError
[src]fn from(e: Error) -> AnyDelimiterCodecError
[src]
fn from(e: Error) -> AnyDelimiterCodecError
[src]Performs the conversion.
Auto Trait Implementations
impl !RefUnwindSafe for AnyDelimiterCodecError
impl Send for AnyDelimiterCodecError
impl Sync for AnyDelimiterCodecError
impl Unpin for AnyDelimiterCodecError
impl !UnwindSafe for AnyDelimiterCodecError
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more