pub struct RealtimeServicePolicy {
pub min_spacing_us: u64,
pub telemetry_streams_per_phase: usize,
pub continue_when_idle: bool,
pub drain_telemetry_with_available_slack: bool,
}Fields§
§min_spacing_us: u64§telemetry_streams_per_phase: usize§continue_when_idle: bool§drain_telemetry_with_available_slack: boolImplementations§
Source§impl RealtimeServicePolicy
impl RealtimeServicePolicy
pub const fn with_spacing( min_spacing_us: u64, telemetry_streams_per_phase: usize, ) -> Self
pub const fn continuous(telemetry_streams_per_phase: usize) -> Self
pub const fn continuous_polling(telemetry_streams_per_phase: usize) -> Self
Sourcepub const fn continuous_slack_driven() -> Self
pub const fn continuous_slack_driven() -> Self
Continuously services the board and sends every due telemetry stream that fits inside the measured control-deadline slack.
Trait Implementations§
Source§impl Clone for RealtimeServicePolicy
impl Clone for RealtimeServicePolicy
Source§fn clone(&self) -> RealtimeServicePolicy
fn clone(&self) -> RealtimeServicePolicy
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for RealtimeServicePolicy
Source§impl Debug for RealtimeServicePolicy
impl Debug for RealtimeServicePolicy
impl Eq for RealtimeServicePolicy
Source§impl PartialEq for RealtimeServicePolicy
impl PartialEq for RealtimeServicePolicy
impl StructuralPartialEq for RealtimeServicePolicy
Auto Trait Implementations§
impl Freeze for RealtimeServicePolicy
impl RefUnwindSafe for RealtimeServicePolicy
impl Send for RealtimeServicePolicy
impl Sync for RealtimeServicePolicy
impl Unpin for RealtimeServicePolicy
impl UnsafeUnpin for RealtimeServicePolicy
impl UnwindSafe for RealtimeServicePolicy
Blanket Implementations§
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,
impl<T> Scalar for T
§impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
§fn to_subset(&self) -> Option<SS>
fn to_subset(&self) -> Option<SS>
The inverse inclusion map: attempts to construct
self from the equivalent element of its
superset. Read more§fn is_in_subset(&self) -> bool
fn is_in_subset(&self) -> bool
Checks if
self is actually part of its subset T (and can be converted to it).§fn to_subset_unchecked(&self) -> SS
fn to_subset_unchecked(&self) -> SS
Use with care! Same as
self.to_subset but without any property checks. Always succeeds.§fn from_subset(element: &SS) -> SP
fn from_subset(element: &SS) -> SP
The inclusion map: converts
self to the equivalent element of its superset.