[][src]Enum esp_idf_bindgen::sntp_sync_mode_t

#[repr(u32)]pub enum sntp_sync_mode_t {
    SNTP_SYNC_MODE_IMMED,
    SNTP_SYNC_MODE_SMOOTH,
}

SNTP time update mode

Variants

SNTP_SYNC_MODE_IMMED

< Update system time immediately when receiving a response from the SNTP server.

SNTP_SYNC_MODE_SMOOTH

< Smooth time updating. Time error is gradually reduced using adjtime function. If the difference between SNTP response time and system time is large (more than 35 minutes) then update immediately.

Trait Implementations

impl Clone for sntp_sync_mode_t[src]

impl Copy for sntp_sync_mode_t[src]

impl Debug for sntp_sync_mode_t[src]

impl Eq for sntp_sync_mode_t[src]

impl Hash for sntp_sync_mode_t[src]

impl PartialEq<sntp_sync_mode_t> for sntp_sync_mode_t[src]

impl StructuralEq for sntp_sync_mode_t[src]

impl StructuralPartialEq for sntp_sync_mode_t[src]

Auto Trait Implementations

impl Send for sntp_sync_mode_t

impl Sync for sntp_sync_mode_t

impl Unpin for sntp_sync_mode_t

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.