Struct deno_net::io::FullDuplexResource [−][src]
pub struct FullDuplexResource<R, W> { /* fields omitted */ }
Expand description
A full duplex resource has a read and write ends that are completely independent, like TCP/Unix sockets and TLS streams.
Implementations
impl<R, W> FullDuplexResource<R, W> where
R: AsyncRead + Unpin + 'static,
W: AsyncWrite + Unpin + 'static,
impl<R, W> FullDuplexResource<R, W> where
R: AsyncRead + Unpin + 'static,
W: AsyncWrite + Unpin + 'static,
Trait Implementations
Auto Trait Implementations
impl<R, W> !RefUnwindSafe for FullDuplexResource<R, W>
impl<R, W> !Send for FullDuplexResource<R, W>
impl<R, W> !Sync for FullDuplexResource<R, W>
impl<R, W> !Unpin for FullDuplexResource<R, W>
impl<R, W> !UnwindSafe for FullDuplexResource<R, W>
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more