Enum esp_idf_svc::sntp::OperatingMode
source · pub enum OperatingMode {
Poll,
ListenOnly,
}
Variants§
Trait Implementations§
source§impl Clone for OperatingMode
impl Clone for OperatingMode
source§fn clone(&self) -> OperatingMode
fn clone(&self) -> OperatingMode
Returns a copy of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for OperatingMode
impl Debug for OperatingMode
source§impl From<OperatingMode> for esp_sntp_operatingmode_t
impl From<OperatingMode> for esp_sntp_operatingmode_t
source§fn from(from: OperatingMode) -> Self
fn from(from: OperatingMode) -> Self
Converts to this type from the input type.
source§impl From<u32> for OperatingMode
impl From<u32> for OperatingMode
source§fn from(from: esp_sntp_operatingmode_t) -> Self
fn from(from: esp_sntp_operatingmode_t) -> Self
Converts to this type from the input type.
source§impl Hash for OperatingMode
impl Hash for OperatingMode
source§impl PartialEq for OperatingMode
impl PartialEq for OperatingMode
source§fn eq(&self, other: &OperatingMode) -> bool
fn eq(&self, other: &OperatingMode) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for OperatingMode
impl Eq for OperatingMode
impl StructuralPartialEq for OperatingMode
Auto Trait Implementations§
impl Freeze for OperatingMode
impl RefUnwindSafe for OperatingMode
impl Send for OperatingMode
impl Sync for OperatingMode
impl Unpin for OperatingMode
impl UnwindSafe for OperatingMode
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
§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
)