Struct fidl_fuchsia_time::MaintenanceProxy
source · pub struct MaintenanceProxy { /* private fields */ }
Implementations§
source§impl MaintenanceProxy
impl MaintenanceProxy
sourcepub fn take_event_stream(&self) -> MaintenanceEventStream
pub fn take_event_stream(&self) -> MaintenanceEventStream
Get a Stream of events from the remote end of the Maintenance protocol
Panics
Panics if the event stream was already taken.
sourcepub fn get_writable_utc_clock(&self) -> QueryResponseFut<Clock>
pub fn get_writable_utc_clock(&self) -> QueryResponseFut<Clock>
Retrieve a UTC clock handle with write rights.
Trait Implementations§
source§impl Clone for MaintenanceProxy
impl Clone for MaintenanceProxy
source§fn clone(&self) -> MaintenanceProxy
fn clone(&self) -> MaintenanceProxy
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for MaintenanceProxy
impl Debug for MaintenanceProxy
source§impl MaintenanceProxyInterface for MaintenanceProxy
impl MaintenanceProxyInterface for MaintenanceProxy
type GetWritableUtcClockResponseFut = QueryResponseFut<Clock>
fn get_writable_utc_clock(&self) -> Self::GetWritableUtcClockResponseFut
source§impl Proxy for MaintenanceProxy
impl Proxy for MaintenanceProxy
§type Protocol = MaintenanceMarker
type Protocol = MaintenanceMarker
The protocol which this
Proxy
controls.source§fn from_channel(inner: AsyncChannel) -> Self
fn from_channel(inner: AsyncChannel) -> Self
Create a proxy over the given channel.
source§fn into_channel(self) -> Result<AsyncChannel, Self>
fn into_channel(self) -> Result<AsyncChannel, Self>
Attempt to convert the proxy back into a channel. Read more
source§fn as_channel(&self) -> &AsyncChannel
fn as_channel(&self) -> &AsyncChannel
Get a reference to the proxy’s underlying channel. Read more