pub enum TimeSourceRequest {
UpdateDeviceProperties {
properties: Properties,
control_handle: TimeSourceControlHandle,
},
}
Expand description
A protocol which defines common methods for all time sources. Should not be implemented directly.
Variants§
UpdateDeviceProperties
Notifies the time source of changes to global properties of the device that it may use to increase accuracy of time measurements.
Implementations§
Source§impl TimeSourceRequest
impl TimeSourceRequest
pub fn into_update_device_properties( self, ) -> Option<(Properties, TimeSourceControlHandle)>
Sourcepub fn method_name(&self) -> &'static str
pub fn method_name(&self) -> &'static str
Name of the method defined in FIDL
Trait Implementations§
Auto Trait Implementations§
impl Freeze for TimeSourceRequest
impl !RefUnwindSafe for TimeSourceRequest
impl Send for TimeSourceRequest
impl Sync for TimeSourceRequest
impl Unpin for TimeSourceRequest
impl !UnwindSafe for TimeSourceRequest
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