Struct fidl_fuchsia_settings::KeyboardSetProxy
source · pub struct KeyboardSetProxy { /* private fields */ }
Implementations§
source§impl KeyboardSetProxy
impl KeyboardSetProxy
sourcepub fn take_event_stream(&self) -> KeyboardSetEventStream
pub fn take_event_stream(&self) -> KeyboardSetEventStream
Get a Stream of events from the remote end of the KeyboardSet protocol
Panics
Panics if the event stream was already taken.
sourcepub fn set(
&self,
settings: KeyboardSettings
) -> QueryResponseFut<KeyboardSetSetResult>
pub fn set( &self, settings: KeyboardSettings ) -> QueryResponseFut<KeyboardSetSetResult>
Setting protocol: if a field is left unset, it is not modified. To clear a field, set it to its type’s “zero” value.
Trait Implementations§
source§impl Clone for KeyboardSetProxy
impl Clone for KeyboardSetProxy
source§fn clone(&self) -> KeyboardSetProxy
fn clone(&self) -> KeyboardSetProxy
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 KeyboardSetProxy
impl Debug for KeyboardSetProxy
source§impl KeyboardSetProxyInterface for KeyboardSetProxy
impl KeyboardSetProxyInterface for KeyboardSetProxy
type SetResponseFut = QueryResponseFut<Result<(), Error>>
fn set(&self, settings: KeyboardSettings) -> Self::SetResponseFut
source§impl Proxy for KeyboardSetProxy
impl Proxy for KeyboardSetProxy
§type Protocol = KeyboardSetMarker
type Protocol = KeyboardSetMarker
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