pub enum DelayWatcherRequest {
WatchDelay {
payload: DelayWatcherWatchDelayRequest,
responder: DelayWatcherWatchDelayResponder,
},
}
Expand description
Watches for a delay to change.
Variants§
WatchDelay
The first call returns immediately with the current delay, if known. Subsequent calls block until the delay changes. There can be at most one outstanding call, otherwise the channel may be closed.
Implementations§
Source§impl DelayWatcherRequest
impl DelayWatcherRequest
pub fn into_watch_delay( self, ) -> Option<(DelayWatcherWatchDelayRequest, DelayWatcherWatchDelayResponder)>
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 DelayWatcherRequest
impl !RefUnwindSafe for DelayWatcherRequest
impl Send for DelayWatcherRequest
impl Sync for DelayWatcherRequest
impl Unpin for DelayWatcherRequest
impl !UnwindSafe for DelayWatcherRequest
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