pub struct ViewSynchronousProxy { /* private fields */ }
Implementations§
Source§impl ViewSynchronousProxy
impl ViewSynchronousProxy
pub fn new(channel: Channel) -> Self
pub fn into_channel(self) -> Channel
Sourcepub fn wait_for_event(
&self,
deadline: MonotonicInstant,
) -> Result<ViewEvent, Error>
pub fn wait_for_event( &self, deadline: MonotonicInstant, ) -> Result<ViewEvent, 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 open_entry_iterator(
&self,
it: ServerEnd<EntryIteratorMarker>,
options: &EntryIteratorOptions,
) -> Result<(), Error>
pub fn open_entry_iterator( &self, it: ServerEnd<EntryIteratorMarker>, options: &EntryIteratorOptions, ) -> Result<(), Error>
Open a connection to an [EntryIterator
] for listing existing entries
and optionally watching for state changes.
- request
it
grants access to the [EntryIterator
]. - request
options
specifies the behavior of the [EntryIterator
].
Trait Implementations§
Source§impl Debug for ViewSynchronousProxy
impl Debug for ViewSynchronousProxy
Source§impl SynchronousProxy for ViewSynchronousProxy
impl SynchronousProxy for ViewSynchronousProxy
Source§type Protocol = ViewMarker
type Protocol = ViewMarker
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 ViewSynchronousProxy
impl RefUnwindSafe for ViewSynchronousProxy
impl Send for ViewSynchronousProxy
impl Sync for ViewSynchronousProxy
impl Unpin for ViewSynchronousProxy
impl UnwindSafe for ViewSynchronousProxy
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