pub enum PairingStateWatcherRequest {
WatchPairingState {
responder: PairingStateWatcherWatchPairingStateResponder,
},
}
Expand description
Watches for changes in pairing state in Weave. Retrieved from
[fuchsia.weave/Stack.GetPairingStateWatcher
].
Variants§
WatchPairingState
Returns the state of pairing.
First call returns the current pairing state or blocks until the pairing state is available. Subsequent calls will block until the pairing state changes.
Calling WatchPairingState when a previous call is still pending will cause
the channel to be closed with ZX_ERR_BAD_STATE
.
Fields
Implementations§
Source§impl PairingStateWatcherRequest
impl PairingStateWatcherRequest
pub fn into_watch_pairing_state( self, ) -> Option<PairingStateWatcherWatchPairingStateResponder>
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 PairingStateWatcherRequest
impl !RefUnwindSafe for PairingStateWatcherRequest
impl Send for PairingStateWatcherRequest
impl Sync for PairingStateWatcherRequest
impl Unpin for PairingStateWatcherRequest
impl !UnwindSafe for PairingStateWatcherRequest
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