pub struct FontSetEventListenerSynchronousProxy { /* private fields */ }
Implementations§
Source§impl FontSetEventListenerSynchronousProxy
impl FontSetEventListenerSynchronousProxy
pub fn new(channel: Channel) -> Self
pub fn into_channel(self) -> Channel
Sourcepub fn wait_for_event(
&self,
deadline: MonotonicInstant,
) -> Result<FontSetEventListenerEvent, Error>
pub fn wait_for_event( &self, deadline: MonotonicInstant, ) -> Result<FontSetEventListenerEvent, Error>
Waits until an event arrives and returns it. It is safe for other threads to make concurrent requests while waiting for an event.
Sourcepub fn on_font_set_updated(
&self,
event: &FontSetUpdatedEvent,
___deadline: MonotonicInstant,
) -> Result<(), Error>
pub fn on_font_set_updated( &self, event: &FontSetUpdatedEvent, ___deadline: MonotonicInstant, ) -> Result<(), Error>
The set of fonts available in the Provider
has changed. See
[fuchsia.fonts/FontSetUpdatedEvent
].
Trait Implementations§
Source§impl SynchronousProxy for FontSetEventListenerSynchronousProxy
impl SynchronousProxy for FontSetEventListenerSynchronousProxy
Source§type Proxy = FontSetEventListenerProxy
type Proxy = FontSetEventListenerProxy
The async proxy for the same protocol.
Source§type Protocol = FontSetEventListenerMarker
type Protocol = FontSetEventListenerMarker
The protocol which this
Proxy
controls.Source§fn from_channel(inner: Channel) -> Self
fn from_channel(inner: Channel) -> Self
Create a proxy over the given channel.
Source§fn into_channel(self) -> Channel
fn into_channel(self) -> Channel
Convert the proxy back into a channel.
Source§fn as_channel(&self) -> &Channel
fn as_channel(&self) -> &Channel
Get a reference to the proxy’s underlying channel. Read more
Auto Trait Implementations§
impl Freeze for FontSetEventListenerSynchronousProxy
impl RefUnwindSafe for FontSetEventListenerSynchronousProxy
impl Send for FontSetEventListenerSynchronousProxy
impl Sync for FontSetEventListenerSynchronousProxy
impl Unpin for FontSetEventListenerSynchronousProxy
impl UnwindSafe for FontSetEventListenerSynchronousProxy
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