pub enum FocusChainProviderRequest {
WatchFocusKoidChain {
payload: FocusChainProviderWatchFocusKoidChainRequest,
responder: FocusChainProviderWatchFocusKoidChainResponder,
},
}
Expand description
The FocusChainProvider
protocol allows privileged clients to watch for
focus chain updates.
It is intended as an experimental solution for providing focus information to the clipboard.
Variants§
WatchFocusKoidChain
Subscribe to changes in the focus chain (koids only) with a hanging-get pattern.
The server responds immediately with the initial state, and afterwards whenever a change occurs. Updates are not queued up for slow clients; only the latest state is sent.
It is invalid to call this method while a previous call is pending. Doing so will cause the server end of the protocol to be closed.
Fields
Implementations§
Source§impl FocusChainProviderRequest
impl FocusChainProviderRequest
pub fn into_watch_focus_koid_chain( self, ) -> Option<(FocusChainProviderWatchFocusKoidChainRequest, FocusChainProviderWatchFocusKoidChainResponder)>
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 FocusChainProviderRequest
impl !RefUnwindSafe for FocusChainProviderRequest
impl Send for FocusChainProviderRequest
impl Sync for FocusChainProviderRequest
impl Unpin for FocusChainProviderRequest
impl !UnwindSafe for FocusChainProviderRequest
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