pub enum Update {
Sample(Arc<TimeSample>),
Status(Status),
}
Expand description
A time update generated by an |UpdateAlgorithm|.
Variants§
Sample(Arc<TimeSample>)
A new TimeSample. The Arc may be removed once fidl tables support clone.
Status(Status)
A new Status.
Implementations§
Trait Implementations§
Source§impl From<TimeSample> for Update
impl From<TimeSample> for Update
Source§fn from(sample: TimeSample) -> Self
fn from(sample: TimeSample) -> Self
Converts to this type from the input type.
impl StructuralPartialEq for Update
Auto Trait Implementations§
impl Freeze for Update
impl RefUnwindSafe for Update
impl Send for Update
impl Sync for Update
impl Unpin for Update
impl UnwindSafe for Update
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,
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
)