Struct ContentSizeError

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.

Implementations

impl Debug for ContentSizeError

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

impl Display for ContentSizeError

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

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

impl<T> Any for ContentSizeError

fn type_id(self: &Self) -> TypeId

impl<T> Borrow for ContentSizeError

fn borrow(self: &Self) -> &T

impl<T> BorrowMut for ContentSizeError

fn borrow_mut(self: &mut Self) -> &mut T

impl<T> From for ContentSizeError

fn from(t: T) -> T

Returns the argument unchanged.

impl<T> ToString for ContentSizeError

fn to_string(self: &Self) -> String

impl<T, U> Into for ContentSizeError

fn into(self: Self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of [From]<T> for U chooses to do.

impl<T, U> TryFrom for ContentSizeError

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

impl<T, U> TryInto for ContentSizeError

fn try_into(self: Self) -> Result<U, <U as TryFrom<T>>::Error>