pub struct KeyboardWatchProxy { /* private fields */ }
Implementations§
source§impl KeyboardWatchProxy
impl KeyboardWatchProxy
sourcepub fn take_event_stream(&self) -> KeyboardWatchEventStream
pub fn take_event_stream(&self) -> KeyboardWatchEventStream
Get a Stream of events from the remote end of the KeyboardWatch protocol
Panics
Panics if the event stream was already taken.
sourcepub fn watch(&self) -> QueryResponseFut<KeyboardSettings>
pub fn watch(&self) -> QueryResponseFut<KeyboardSettings>
The Watch protocol is the same as in the other fuchsia.settings.*
protocols.
Returns immediately on first call; on subsequent calls it blocks until the settings change, and then returns following the “hanging get” pattern.
Trait Implementations§
source§impl Clone for KeyboardWatchProxy
impl Clone for KeyboardWatchProxy
source§fn clone(&self) -> KeyboardWatchProxy
fn clone(&self) -> KeyboardWatchProxy
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 KeyboardWatchProxy
impl Debug for KeyboardWatchProxy
source§impl KeyboardWatchProxyInterface for KeyboardWatchProxy
impl KeyboardWatchProxyInterface for KeyboardWatchProxy
type WatchResponseFut = QueryResponseFut<KeyboardSettings>
fn watch(&self) -> Self::WatchResponseFut
source§impl Proxy for KeyboardWatchProxy
impl Proxy for KeyboardWatchProxy
§type Protocol = KeyboardWatchMarker
type Protocol = KeyboardWatchMarker
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