Enum fidl_fuchsia_weave::StackRequest
source · pub enum StackRequest {
GetPairingStateWatcher {
watcher: ServerEnd<PairingStateWatcherMarker>,
control_handle: StackControlHandle,
},
GetSvcDirectoryWatcher {
endpoint_id: u64,
watcher: ServerEnd<SvcDirectoryWatcherMarker>,
control_handle: StackControlHandle,
},
GetQrCode {
responder: StackGetQrCodeResponder,
},
ResetConfig {
flags: ResetConfigFlags,
responder: StackResetConfigResponder,
},
}
Expand description
Calls and services available from WeaveStack. These calls are designed to wrap the Weave adaptation and provide information or capabilities to Weave applications or components that are interested in information that Weave exposes.
Variants§
GetPairingStateWatcher
Returns a PairingStateWatcher to watch for changes in pairing state.
GetSvcDirectoryWatcher
Returns a SvcDirectoryWatcher to watch changes in the Weave service directory for a particular endpoint.
GetQrCode
Returns a QR code that can be used in the pairing process.
Fields
§
responder: StackGetQrCodeResponder
ResetConfig
Reset the Weave configuration.
Implementations§
source§impl StackRequest
impl StackRequest
pub fn into_get_pairing_state_watcher( self, ) -> Option<(ServerEnd<PairingStateWatcherMarker>, StackControlHandle)>
pub fn into_get_svc_directory_watcher( self, ) -> Option<(u64, ServerEnd<SvcDirectoryWatcherMarker>, StackControlHandle)>
pub fn into_get_qr_code(self) -> Option<StackGetQrCodeResponder>
pub fn into_reset_config( self, ) -> Option<(ResetConfigFlags, StackResetConfigResponder)>
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 StackRequest
impl !RefUnwindSafe for StackRequest
impl Send for StackRequest
impl Sync for StackRequest
impl Unpin for StackRequest
impl !UnwindSafe for StackRequest
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