pub struct Config {Show 16 fields
pub back_off_time_between_pull_samples_sec: i64,
pub disable_delays: bool,
pub early_exit: bool,
pub first_sampling_delay_sec: i64,
pub has_real_time_clock: bool,
pub initial_frequency_ppm: u32,
pub max_frequency_error_ppm: u32,
pub monitor_time_source_url: String,
pub monitor_uses_pull: bool,
pub oscillator_error_std_dev_ppm: u32,
pub power_topology_integration_enabled: bool,
pub primary_time_source_url: String,
pub primary_uses_pull: bool,
pub serve_test_protocols: bool,
pub utc_start_at_startup: bool,
pub utc_start_at_startup_when_invalid_rtc: bool,
}
Fields§
§back_off_time_between_pull_samples_sec: i64
§disable_delays: bool
§early_exit: bool
§first_sampling_delay_sec: i64
§has_real_time_clock: bool
§initial_frequency_ppm: u32
§max_frequency_error_ppm: u32
§monitor_time_source_url: String
§monitor_uses_pull: bool
§oscillator_error_std_dev_ppm: u32
§power_topology_integration_enabled: bool
§primary_time_source_url: String
§primary_uses_pull: bool
§serve_test_protocols: bool
§utc_start_at_startup: bool
§utc_start_at_startup_when_invalid_rtc: bool
Trait Implementations§
Source§impl<D: ResourceDialect> Decode<Config, D> for Config
impl<D: ResourceDialect> Decode<Config, D> for Config
Source§impl<D: ResourceDialect, T0: Encode<i64, D>, T1: Encode<bool, D>, T2: Encode<bool, D>, T3: Encode<i64, D>, T4: Encode<bool, D>, T5: Encode<u32, D>, T6: Encode<u32, D>, T7: Encode<BoundedString<4096>, D>, T8: Encode<bool, D>, T9: Encode<u32, D>, T10: Encode<bool, D>, T11: Encode<BoundedString<4096>, D>, T12: Encode<bool, D>, T13: Encode<bool, D>, T14: Encode<bool, D>, T15: Encode<bool, D>> Encode<Config, D> for (T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15)
impl<D: ResourceDialect, T0: Encode<i64, D>, T1: Encode<bool, D>, T2: Encode<bool, D>, T3: Encode<i64, D>, T4: Encode<bool, D>, T5: Encode<u32, D>, T6: Encode<u32, D>, T7: Encode<BoundedString<4096>, D>, T8: Encode<bool, D>, T9: Encode<u32, D>, T10: Encode<bool, D>, T11: Encode<BoundedString<4096>, D>, T12: Encode<bool, D>, T13: Encode<bool, D>, T14: Encode<bool, D>, T15: Encode<bool, D>> Encode<Config, D> for (T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15)
Source§impl Ord for Config
impl Ord for Config
Source§impl PartialOrd for Config
impl PartialOrd for Config
Source§impl TypeMarker for Config
impl TypeMarker for Config
Source§fn inline_align(_context: Context) -> usize
fn inline_align(_context: Context) -> usize
Returns the minimum required alignment of the inline portion of the
encoded object. It must be a (nonzero) power of two.
Source§fn inline_size(_context: Context) -> usize
fn inline_size(_context: Context) -> usize
Returns the size of the inline portion of the encoded object, including
padding for alignment. Must be a multiple of
inline_align
.Source§fn encode_is_copy() -> bool
fn encode_is_copy() -> bool
Returns true if the memory layout of
Self::Owned
matches the FIDL wire
format and encoding requires no validation. When true, we can optimize
encoding arrays and vectors of Self::Owned
to a single memcpy. Read moreSource§fn decode_is_copy() -> bool
fn decode_is_copy() -> bool
Returns true if the memory layout of
Self::Owned
matches the FIDL wire
format and decoding requires no validation. When true, we can optimize
decoding arrays and vectors of Self::Owned
to a single memcpy.Source§impl ValueTypeMarker for Config
impl ValueTypeMarker for Config
impl Eq for Config
impl Persistable for Config
impl StructuralPartialEq for Config
Auto Trait Implementations§
impl Freeze for Config
impl RefUnwindSafe for Config
impl Send for Config
impl Sync for Config
impl Unpin for Config
impl UnwindSafe for Config
Blanket Implementations§
Source§impl<T> Body for Twhere
T: Persistable,
impl<T> Body for Twhere
T: Persistable,
Source§type MarkerAtTopLevel = T
type MarkerAtTopLevel = T
The marker type to use when the body is at the top-level.
Source§type MarkerInResultUnion = T
type MarkerInResultUnion = T
The marker type to use when the body is nested in a result union.
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
)