Type Alias codecs::decoding::framing::BoxedFramingError

source ·
pub type BoxedFramingError = Box<dyn FramingError>;
Expand description

A Box containing a FramingError.

Aliased Type§

struct BoxedFramingError(/* private fields */);

Trait Implementations§

source§

impl Error for BoxedFramingError

1.30.0 · source§

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

👎Deprecated since 1.42.0: use the Display impl or to_string()
1.0.0 · source§

fn cause(&self) -> Option<&dyn Error>

👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
source§

fn provide<'a>(&'a self, request: &mut Request<'a>)

🔬This is a nightly-only experimental API. (error_generic_member_access)
Provides type-based access to context intended for error reports. Read more
source§

impl<T> From<T> for BoxedFramingError
where T: FramingError + 'static,

source§

fn from(value: T) -> Self

Converts to this type from the input type.
source§

impl StreamDecodingError for BoxedFramingError

source§

fn can_continue(&self) -> bool

Whether it is reasonable to assume that continuing to read from the stream in which this error occurred will not result in an indefinite hang up. Read more