pub struct CodecDelaySynchronousProxy { /* private fields */ }
Implementations§
Source§impl CodecDelaySynchronousProxy
impl CodecDelaySynchronousProxy
pub fn new(channel: Channel) -> Self
pub fn into_channel(self) -> Channel
Sourcepub fn wait_for_event(
&self,
deadline: MonotonicInstant,
) -> Result<CodecDelayEvent, Error>
pub fn wait_for_event( &self, deadline: MonotonicInstant, ) -> Result<CodecDelayEvent, 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 get_codec_local_delay_range(
&self,
payload: &CodecDelayGetCodecLocalDelayRangeRequest,
___deadline: MonotonicInstant,
) -> Result<CodecDelayGetCodecLocalDelayRangeResult, Error>
pub fn get_codec_local_delay_range( &self, payload: &CodecDelayGetCodecLocalDelayRangeRequest, ___deadline: MonotonicInstant, ) -> Result<CodecDelayGetCodecLocalDelayRangeResult, Error>
Retrieve the range of controller delay for the codec specified with the provided stream attributes.
On success, returns the minimum and maximum allowed delay.
Returns ZX_ERR_NOT_SUPPORTED if reading the delay is not supported. Returns ZX_ERR_INTERNAL for all other failures.
Trait Implementations§
Source§impl Debug for CodecDelaySynchronousProxy
impl Debug for CodecDelaySynchronousProxy
Source§impl SynchronousProxy for CodecDelaySynchronousProxy
impl SynchronousProxy for CodecDelaySynchronousProxy
Source§type Proxy = CodecDelayProxy
type Proxy = CodecDelayProxy
The async proxy for the same protocol.
Source§type Protocol = CodecDelayMarker
type Protocol = CodecDelayMarker
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 CodecDelaySynchronousProxy
impl RefUnwindSafe for CodecDelaySynchronousProxy
impl Send for CodecDelaySynchronousProxy
impl Sync for CodecDelaySynchronousProxy
impl Unpin for CodecDelaySynchronousProxy
impl UnwindSafe for CodecDelaySynchronousProxy
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