Enum someip_parse::err::SomeipSliceError
source · pub enum SomeipSliceError {
Len(LenError),
Content(SomeipHeaderError),
}
Expand description
Error when decoding an SOMEIP header & payload from a slice.
Variants§
Len(LenError)
Error when an length error is encountered (e.g. unexpected end of slice).
Content(SomeipHeaderError)
Error caused by the contents of the header.
Trait Implementations§
source§impl Clone for SomeipSliceError
impl Clone for SomeipSliceError
source§fn clone(&self) -> SomeipSliceError
fn clone(&self) -> SomeipSliceError
Returns a copy 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 SomeipSliceError
impl Debug for SomeipSliceError
source§impl Display for SomeipSliceError
impl Display for SomeipSliceError
source§impl Error for SomeipSliceError
impl Error for SomeipSliceError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
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 Hash for SomeipSliceError
impl Hash for SomeipSliceError
source§impl Ord for SomeipSliceError
impl Ord for SomeipSliceError
source§fn cmp(&self, other: &SomeipSliceError) -> Ordering
fn cmp(&self, other: &SomeipSliceError) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq for SomeipSliceError
impl PartialEq for SomeipSliceError
source§fn eq(&self, other: &SomeipSliceError) -> bool
fn eq(&self, other: &SomeipSliceError) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for SomeipSliceError
impl PartialOrd for SomeipSliceError
source§fn partial_cmp(&self, other: &SomeipSliceError) -> Option<Ordering>
fn partial_cmp(&self, other: &SomeipSliceError) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Eq for SomeipSliceError
impl StructuralEq for SomeipSliceError
impl StructuralPartialEq for SomeipSliceError
Auto Trait Implementations§
impl RefUnwindSafe for SomeipSliceError
impl Send for SomeipSliceError
impl Sync for SomeipSliceError
impl Unpin for SomeipSliceError
impl UnwindSafe for SomeipSliceError
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