pub enum EchoType {
Request = 128,
Reply = 129,
}
Available on
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 Freeze for EchoType
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)Source§impl<T> IntoSwitch for T
impl<T> IntoSwitch for T
Source§fn into_switch<ActiveLevel>(self) -> Switch<T, ActiveLevel>
fn into_switch<ActiveLevel>(self) -> Switch<T, ActiveLevel>
Source§fn into_active_high_switch(self) -> Switch<Self, ActiveHigh>where
Self: Sized,
fn into_active_high_switch(self) -> Switch<Self, ActiveHigh>where
Self: Sized,
Layout§
Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...)
attributes. Please see the Rust Reference's “Type Layout” chapter for details on type layout guarantees.
Size: 1 byte
Size for each variant:
Request
: 0 bytesReply
: 0 bytes