pub struct FuchsiaProxyBox(/* private fields */);
Expand description
Box around an async channel. Needed to implement ResourceDialect
for
DefaultFuchsiaResourceDialect
but not so useful for that case.
Implementations§
Trait Implementations§
Source§impl Debug for FuchsiaProxyBox
impl Debug for FuchsiaProxyBox
Source§impl ProxyChannelBox<DefaultFuchsiaResourceDialect> for FuchsiaProxyBox
impl ProxyChannelBox<DefaultFuchsiaResourceDialect> for FuchsiaProxyBox
Source§fn write_etc(
&self,
bytes: &[u8],
handles: &mut [HandleDisposition<'static>],
) -> Result<(), Option<Status>>
fn write_etc( &self, bytes: &[u8], handles: &mut [HandleDisposition<'static>], ) -> Result<(), Option<Status>>
Write data to a Proxy channel
Source§fn recv_etc_from(
&self,
ctx: &mut Context<'_>,
buf: &mut MessageBufEtc,
) -> Poll<Result<(), Option<Status>>>
fn recv_etc_from( &self, ctx: &mut Context<'_>, buf: &mut MessageBufEtc, ) -> Poll<Result<(), Option<Status>>>
Receives a message on the channel and registers this
Channel
as
needing a read on receiving a io::std::ErrorKind::WouldBlock
.Source§fn unbox(
self,
) -> <DefaultFuchsiaResourceDialect as ResourceDialect>::ProxyChannel
fn unbox( self, ) -> <DefaultFuchsiaResourceDialect as ResourceDialect>::ProxyChannel
Unbox this channel
Source§fn as_channel(
&self,
) -> &<DefaultFuchsiaResourceDialect as ResourceDialect>::ProxyChannel
fn as_channel( &self, ) -> &<DefaultFuchsiaResourceDialect as ResourceDialect>::ProxyChannel
Get a reference to the boxed channel.
Auto Trait Implementations§
impl Freeze for FuchsiaProxyBox
impl !RefUnwindSafe for FuchsiaProxyBox
impl Send for FuchsiaProxyBox
impl Sync for FuchsiaProxyBox
impl Unpin for FuchsiaProxyBox
impl !UnwindSafe for FuchsiaProxyBox
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