Struct ContentSizeError

pub struct ContentSizeError;

Indicates an error happened when parsing the frame content size.

The stream may be corrupted, or the given frame prefix was too small.

Trait Implementations

impl Debug for ContentSizeError

fn fmt(&self, f: &mut Formatter<'_>) -> Result

impl Display for ContentSizeError

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Auto Trait Implementations

impl Freeze for ContentSizeError

impl RefUnwindSafe for ContentSizeError

impl Send for ContentSizeError

impl Sync for ContentSizeError

impl Unpin for ContentSizeError

impl UnsafeUnpin for ContentSizeError

impl UnwindSafe for ContentSizeError

Blanket Implementations

impl<T> Any for ContentSizeError where T: 'static + ?Sized,

impl<T> Borrow<T> for ContentSizeError where T: ?Sized,

impl<T> BorrowMut<T> for ContentSizeError where T: ?Sized,

impl<T> From<T> for ContentSizeError

impl<T> ToString for ContentSizeError where T: Display + ?Sized,

impl<T, U> Into<U> for ContentSizeError where U: From<T>,

impl<T, U> TryFrom<U> for ContentSizeError where U: Into<T>,

impl<T, U> TryInto<U> for ContentSizeError where U: TryFrom<T>,