pub enum SectionFramingError {
InvalidVarint,
LengthOverflow {
value: u64,
},
Truncated {
needed: usize,
available: usize,
},
}Expand description
Errors that can occur while framing sections.
Variants§
Trait Implementations§
Source§impl Clone for SectionFramingError
impl Clone for SectionFramingError
Source§fn clone(&self) -> SectionFramingError
fn clone(&self) -> SectionFramingError
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for SectionFramingError
impl Debug for SectionFramingError
Source§impl Display for SectionFramingError
impl Display for SectionFramingError
Source§impl PartialEq for SectionFramingError
impl PartialEq for SectionFramingError
impl Eq for SectionFramingError
impl StructuralPartialEq for SectionFramingError
Auto Trait Implementations§
impl Freeze for SectionFramingError
impl RefUnwindSafe for SectionFramingError
impl Send for SectionFramingError
impl Sync for SectionFramingError
impl Unpin for SectionFramingError
impl UnwindSafe for SectionFramingError
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more