Enum w5500::OnPingRequest
source · #[repr(u8)]
pub enum OnPingRequest {
Respond,
Ignore,
}
Expand description
Settings for ping. Allows the W5500 to respond to or ignore network ping requests
Variants§
Trait Implementations§
source§impl Clone for OnPingRequest
impl Clone for OnPingRequest
source§fn clone(&self) -> OnPingRequest
fn clone(&self) -> OnPingRequest
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl PartialEq<OnPingRequest> for OnPingRequest
impl PartialEq<OnPingRequest> for OnPingRequest
source§fn eq(&self, other: &OnPingRequest) -> bool
fn eq(&self, other: &OnPingRequest) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd<OnPingRequest> for OnPingRequest
impl PartialOrd<OnPingRequest> for OnPingRequest
source§fn partial_cmp(&self, other: &OnPingRequest) -> Option<Ordering>
fn partial_cmp(&self, other: &OnPingRequest) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read more