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
impl Error for BoxedFramingError
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()
source§impl<T> From<T> for BoxedFramingErrorwhere
T: FramingError + 'static,
impl<T> From<T> for BoxedFramingErrorwhere
T: FramingError + 'static,
source§impl StreamDecodingError for BoxedFramingError
impl StreamDecodingError for BoxedFramingError
source§fn can_continue(&self) -> bool
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