Enum lpc55::bootloader::protocol::ReceivedPacket
source · [−]pub enum ReceivedPacket {
Response(ResponsePacket),
Data(Vec<u8>),
}
Variants
Response(ResponsePacket)
Data(Vec<u8>)
Trait Implementations
sourceimpl TryFrom<ReceivedPacket> for ResponsePacket
impl TryFrom<ReceivedPacket> for ResponsePacket
Auto Trait Implementations
impl RefUnwindSafe for ReceivedPacket
impl Send for ReceivedPacket
impl Sync for ReceivedPacket
impl Unpin for ReceivedPacket
impl UnwindSafe for ReceivedPacket
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more