Struct tokio_native_tls::AllowStd [−][src]
pub struct AllowStd<S> { /* fields omitted */ }
An intermediate wrapper for the inner stream S
.
Implementations
impl<S> AllowStd<S>
[src]
impl<S> AllowStd<S>
[src]Trait Implementations
impl<S> Read for AllowStd<S> where
S: AsyncRead + Unpin,
[src]
impl<S> Read for AllowStd<S> where
S: AsyncRead + Unpin,
[src]fn read(&mut self, buf: &mut [u8]) -> Result<usize>
[src][−]
pub fn read_vectored(
&mut self,
bufs: &mut [IoSliceMut<'_>]
) -> Result<usize, Error>
1.36.0[src][−]
&mut self,
bufs: &mut [IoSliceMut<'_>]
) -> Result<usize, Error>
pub fn is_read_vectored(&self) -> bool
[src][−]
pub unsafe fn initializer(&self) -> Initializer
[src][−]
pub fn read_to_end(&mut self, buf: &mut Vec<u8, Global>) -> Result<usize, Error>
1.0.0[src][−]
pub fn read_to_string(&mut self, buf: &mut String) -> Result<usize, Error>
1.0.0[src][−]
pub fn read_exact(&mut self, buf: &mut [u8]) -> Result<(), Error>
1.6.0[src][−]
pub fn by_ref(&mut self) -> &mut Self
1.0.0[src][−]
pub fn bytes(self) -> Bytes<Self>
1.0.0[src][−]
pub fn chain<R>(self, next: R) -> Chain<Self, R> where
R: Read,
1.0.0[src][−]
R: Read,
pub fn take(self, limit: u64) -> Take<Self>
1.0.0[src][−]
impl<S> Write for AllowStd<S> where
S: AsyncWrite + Unpin,
[src]
impl<S> Write for AllowStd<S> where
S: AsyncWrite + Unpin,
[src]fn write(&mut self, buf: &[u8]) -> Result<usize>
[src][−]
fn flush(&mut self) -> Result<()>
[src][−]
pub fn write_vectored(&mut self, bufs: &[IoSlice<'_>]) -> Result<usize, Error>
1.36.0[src][−]
pub fn is_write_vectored(&self) -> bool
[src][−]
pub fn write_all(&mut self, buf: &[u8]) -> Result<(), Error>
1.0.0[src][−]
pub fn write_all_vectored(
&mut self,
bufs: &mut [IoSlice<'_>]
) -> Result<(), Error>
[src][−]
&mut self,
bufs: &mut [IoSlice<'_>]
) -> Result<(), Error>
pub fn write_fmt(&mut self, fmt: Arguments<'_>) -> Result<(), Error>
1.0.0[src][−]
pub fn by_ref(&mut self) -> &mut Self
1.0.0[src][−]
impl<S: Send> Send for AllowStd<S>
[src]
impl<S: Sync> Sync for AllowStd<S>
[src]
Auto Trait Implementations
impl<S> RefUnwindSafe for AllowStd<S> where
S: RefUnwindSafe,
S: RefUnwindSafe,
impl<S> Unpin for AllowStd<S> where
S: Unpin,
S: Unpin,
impl<S> UnwindSafe for AllowStd<S> where
S: UnwindSafe,
S: UnwindSafe,