Enum cansat_lora::Error
source · pub enum Error<SerialError> {
Serial(SerialError),
Parse(ParseError),
Overflow,
}
Variants§
Trait Implementations§
source§impl<SerialError> From<ParseError> for Error<SerialError>
impl<SerialError> From<ParseError> for Error<SerialError>
source§fn from(original: ParseError) -> Error<SerialError>
fn from(original: ParseError) -> Error<SerialError>
Converts to this type from the input type.
source§impl<SerialError: PartialEq> PartialEq<Error<SerialError>> for Error<SerialError>
impl<SerialError: PartialEq> PartialEq<Error<SerialError>> for Error<SerialError>
impl<SerialError: Copy> Copy for Error<SerialError>
impl<SerialError: Eq> Eq for Error<SerialError>
impl<SerialError> StructuralEq for Error<SerialError>
impl<SerialError> StructuralPartialEq for Error<SerialError>
Auto Trait Implementations§
impl<SerialError> RefUnwindSafe for Error<SerialError>where SerialError: RefUnwindSafe,
impl<SerialError> Send for Error<SerialError>where SerialError: Send,
impl<SerialError> Sync for Error<SerialError>where SerialError: Sync,
impl<SerialError> Unpin for Error<SerialError>where SerialError: Unpin,
impl<SerialError> UnwindSafe for Error<SerialError>where SerialError: UnwindSafe,
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