Enum someip_parse::err::SdWriteError
source · pub enum SdWriteError {
IoError(Error),
UnexpectedEndOfSlice(usize),
ValueError(SdValueError),
}
Expand description
Errors that can occur when serializing a someip & tp header.
Variants§
IoError(Error)
UnexpectedEndOfSlice(usize)
The slice length was not large enough to write the header.
ValueError(SdValueError)
Error in the data that was attempted to be written
Trait Implementations§
source§impl Debug for SdWriteError
impl Debug for SdWriteError
source§impl From<Error> for SdWriteError
impl From<Error> for SdWriteError
source§fn from(err: Error) -> SdWriteError
fn from(err: Error) -> SdWriteError
Converts to this type from the input type.
source§impl From<SdValueError> for SdWriteError
impl From<SdValueError> for SdWriteError
source§fn from(err: SdValueError) -> SdWriteError
fn from(err: SdValueError) -> SdWriteError
Converts to this type from the input type.
Auto Trait Implementations§
impl !RefUnwindSafe for SdWriteError
impl Send for SdWriteError
impl Sync for SdWriteError
impl Unpin for SdWriteError
impl !UnwindSafe for SdWriteError
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