[−][src]Struct uninit::read::chain::Chain
This is supported on crate features
std
and chain
only.Implementations
impl<R1, R2> Chain<R1, R2> where
R1: ReadIntoUninit,
R2: ReadIntoUninit,
[src]
R1: ReadIntoUninit,
R2: ReadIntoUninit,
pub fn into_inner(self) -> (R1, R2)
[src]
This is supported on crate features
std
and chain
only.pub fn get_ref(&self) -> (&R1, &R2)
[src]
This is supported on crate features
std
and chain
only.Trait Implementations
impl<R1: Debug, R2: Debug> Debug for Chain<R1, R2> where
R1: ReadIntoUninit,
R2: ReadIntoUninit,
[src]
R1: ReadIntoUninit,
R2: ReadIntoUninit,
impl<R1, R2> Read for Chain<R1, R2> where
R1: ReadIntoUninit,
R2: ReadIntoUninit,
[src]
R1: ReadIntoUninit,
R2: ReadIntoUninit,
fn read(&mut self, buf: &mut [u8]) -> Result<usize>
[src]
fn read_exact(&mut self, buf: &mut [u8]) -> Result<()>
[src]
fn read_vectored(&mut self, bufs: &mut [IoSliceMut<'_>]) -> Result<usize, Error>
1.36.0[src]
fn is_read_vectored(&self) -> bool
[src]
unsafe fn initializer(&self) -> Initializer
[src]
fn read_to_end(&mut self, buf: &mut Vec<u8>) -> Result<usize, Error>
1.0.0[src]
fn read_to_string(&mut self, buf: &mut String) -> Result<usize, Error>
1.0.0[src]
fn by_ref(&mut self) -> &mut Self
1.0.0[src]
fn bytes(self) -> Bytes<Self>
1.0.0[src]
fn chain<R>(self, next: R) -> Chain<Self, R> where
R: Read,
1.0.0[src]
R: Read,
fn take(self, limit: u64) -> Take<Self>
1.0.0[src]
impl<R1, R2> ReadIntoUninit for Chain<R1, R2> where
R1: ReadIntoUninit,
R2: ReadIntoUninit,
[src]
R1: ReadIntoUninit,
R2: ReadIntoUninit,
fn read_into_uninit<'buf>(
&mut self,
buf: Out<'buf, [u8]>
) -> Result<&'buf mut [u8]>
[src]
&mut self,
buf: Out<'buf, [u8]>
) -> Result<&'buf mut [u8]>
fn read_into_uninit_exact<'buf>(
&mut self,
buf: Out<'buf, [u8]>
) -> Result<&'buf mut [u8]>
[src]
&mut self,
buf: Out<'buf, [u8]>
) -> Result<&'buf mut [u8]>
fn chain<R: ReadIntoUninit>(self, next: R) -> Chain<Self, R>ⓘNotable traits for Chain<R1, R2>
impl<R1, R2> Read for Chain<R1, R2> where
R1: ReadIntoUninit,
R2: ReadIntoUninit,
where
Self: Sized,
[src]
Notable traits for Chain<R1, R2>
impl<R1, R2> Read for Chain<R1, R2> where
R1: ReadIntoUninit,
R2: ReadIntoUninit,
Self: Sized,
Auto Trait Implementations
impl<R1, R2> RefUnwindSafe for Chain<R1, R2> where
R1: RefUnwindSafe,
R2: RefUnwindSafe,
R1: RefUnwindSafe,
R2: RefUnwindSafe,
impl<R1, R2> Send for Chain<R1, R2> where
R1: Send,
R2: Send,
R1: Send,
R2: Send,
impl<R1, R2> Sync for Chain<R1, R2> where
R1: Sync,
R2: Sync,
R1: Sync,
R2: Sync,
impl<R1, R2> Unpin for Chain<R1, R2> where
R1: Unpin,
R2: Unpin,
R1: Unpin,
R2: Unpin,
impl<R1, R2> UnwindSafe for Chain<R1, R2> where
R1: UnwindSafe,
R2: UnwindSafe,
R1: UnwindSafe,
R2: UnwindSafe,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<R> ReadIntoUninit for R where
R: ReadIntoUninit + Read,
[src]
R: ReadIntoUninit + Read,
default fn read_into_uninit(
&mut Self,
Out<'buf, [u8]>
) -> Result<&'buf mut [u8], Error>
[src]
&mut Self,
Out<'buf, [u8]>
) -> Result<&'buf mut [u8], Error>
default fn read_into_uninit_exact(
&mut Self,
Out<'buf, [u8]>
) -> Result<&'buf mut [u8], Error>
[src]
&mut Self,
Out<'buf, [u8]>
) -> Result<&'buf mut [u8], Error>
fn chain<R: ReadIntoUninit>(self, next: R) -> Chain<Self, R>ⓘNotable traits for Chain<R1, R2>
impl<R1, R2> Read for Chain<R1, R2> where
R1: ReadIntoUninit,
R2: ReadIntoUninit,
where
Self: Sized,
[src]
Notable traits for Chain<R1, R2>
impl<R1, R2> Read for Chain<R1, R2> where
R1: ReadIntoUninit,
R2: ReadIntoUninit,
Self: Sized,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,