Struct Config
pub struct Config {Show 21 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_always_on_counter: bool,
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_fuchsia_time_alarms: bool,
pub serve_fuchsia_time_external_adjust: bool,
pub serve_test_protocols: bool,
pub utc_max_allowed_delta_future_sec: i64,
pub utc_max_allowed_delta_past_sec: i64,
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_always_on_counter: bool
§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_fuchsia_time_alarms: bool
§serve_fuchsia_time_external_adjust: bool
§serve_test_protocols: bool
§utc_max_allowed_delta_future_sec: i64
§utc_max_allowed_delta_past_sec: i64
§utc_start_at_startup: bool
§utc_start_at_startup_when_invalid_rtc: bool
Trait Implementations§
§impl<D> Decode<Config, D> for Configwhere
D: ResourceDialect,
impl<D> Decode<Config, D> for Configwhere
D: ResourceDialect,
§impl<D> Encode<Config, D> for &Configwhere
D: ResourceDialect,
impl<D> Encode<Config, D> for &Configwhere
D: ResourceDialect,
§impl Ord for Config
impl Ord for Config
§impl PartialOrd for Config
impl PartialOrd for Config
§impl TypeMarker for Config
impl TypeMarker for Config
§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.
§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.§impl ValueTypeMarker for Config
impl ValueTypeMarker for Config
§type Borrowed<'a> = &'a Config
type Borrowed<'a> = &'a Config
The Rust type to use for encoding. This is a particular
Encode<Self>
type cheaply obtainable from &Self::Owned
. There are three cases: Read more§fn borrow(
value: &<Config as TypeMarker>::Owned,
) -> <Config as ValueTypeMarker>::Borrowed<'_>
fn borrow( value: &<Config as TypeMarker>::Owned, ) -> <Config as ValueTypeMarker>::Borrowed<'_>
Cheaply converts from
&Self::Owned
to Self::Borrowed
.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