Enum cansat_lora::ResponseContent
source · pub enum ResponseContent<'a> {
Data(&'a [u8]),
Error(i8),
}
Variants§
Trait Implementations§
source§impl<'a> Debug for ResponseContent<'a>
impl<'a> Debug for ResponseContent<'a>
source§impl<'a> PartialEq<ResponseContent<'a>> for ResponseContent<'a>
impl<'a> PartialEq<ResponseContent<'a>> for ResponseContent<'a>
source§fn eq(&self, other: &ResponseContent<'a>) -> bool
fn eq(&self, other: &ResponseContent<'a>) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl<'a> Eq for ResponseContent<'a>
impl<'a> StructuralEq for ResponseContent<'a>
impl<'a> StructuralPartialEq for ResponseContent<'a>
Auto Trait Implementations§
impl<'a> RefUnwindSafe for ResponseContent<'a>
impl<'a> Send for ResponseContent<'a>
impl<'a> Sync for ResponseContent<'a>
impl<'a> Unpin for ResponseContent<'a>
impl<'a> UnwindSafe for ResponseContent<'a>
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