Enum riot_wrappers::gnrc::icmpv6::EchoType
source · pub enum EchoType {
Request = 128,
Reply = 129,
}
Available on
riot_module_gnrc
and riot_module_gnrc_icmpv6
only.Expand description
Type of an ICMPv6 Echo packet
Used both to build echo packets (which, admittedly, are mainly requests in
Pktsnip::icmpv6_echo_build) and for registering (mainly for responses) by giving a
u32::from(t)
as the demux context for the ICMPv6 nettype in
registration.
Variants§
Trait Implementations§
impl Copy for EchoType
Auto Trait Implementations§
impl RefUnwindSafe for EchoType
impl Send for EchoType
impl Sync for EchoType
impl Unpin for EchoType
impl UnwindSafe for EchoType
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