[−][src]Struct io::Pos
Fields
pos: usize
Implementations
impl<T> Pos<T>
[src]
Trait Implementations
impl<T: Clone> Clone for Pos<T>
[src]
fn clone(&self) -> Pos<T>
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl<T: Copy> Copy for Pos<T>
[src]
impl<T: Debug> Debug for Pos<T>
[src]
impl<T: Eq> Eq for Pos<T>
[src]
impl<T> From<T> for Pos<T>
[src]
impl<T: Hash> Hash for Pos<T>
[src]
fn hash<__H: Hasher>(&self, state: &mut __H)
[src]
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
impl<T: PartialEq> PartialEq<Pos<T>> for Pos<T>
[src]
impl<S: Copy, T: Deref<Target = [S]>> Read<S> for Pos<T>
[src]
type Err = Void
fn read(&mut self, buf: &mut [S]) -> Result<usize, Void>
[src]
fn readv(&mut self, bufs: &mut [&mut [T]]) -> Result<usize, Self::Err>
[src]
fn try_read_full(&mut self, buf: &mut [T]) -> Result<usize, (Self::Err, usize)>
[src]
fn read_full<E: From<Self::Err> + From<EndOfFile>>(
&mut self,
buf: &mut [T]
) -> Result<(), (E, usize)>
[src]
&mut self,
buf: &mut [T]
) -> Result<(), (E, usize)>
fn size_hint(&self) -> (usize, Option<usize>)
[src]
fn data(self) -> Data<Self, T>ⓘ where
Self: Sized,
[src]
Self: Sized,
fn read_onto_vec<A: Alloc>(
&mut self,
xs: &mut Vec<T, A>
) -> Result<usize, Self::Err>
[src]
&mut self,
xs: &mut Vec<T, A>
) -> Result<usize, Self::Err>
fn split<P: FnMut(T) -> bool, E: From<Self::Err> + From<NoMemory>>(
self,
p: P,
keep_delim: bool
) -> Split<Self, T, P, E>ⓘ where
Self: Sized,
[src]
self,
p: P,
keep_delim: bool
) -> Split<Self, T, P, E>ⓘ where
Self: Sized,
impl<T> StructuralEq for Pos<T>
[src]
impl<T> StructuralPartialEq for Pos<T>
[src]
impl<S: Copy, T: DerefMut<Target = [S]>> Write<S> for Pos<T>
[src]
type Err = Void
fn write(&mut self, buf: &[S]) -> Result<usize, Void>
[src]
fn flush(&mut self) -> Result<(), Void>
[src]
fn writev(&mut self, bufs: &[&[T]]) -> Result<usize, Self::Err>
[src]
fn write_all(&mut self, buf: &[T]) -> Result<(), (Self::Err, usize)> where
Self::Err: From<EndOfFile>,
[src]
Self::Err: From<EndOfFile>,
fn write_all_e(
&mut self,
buf: &[T]
) -> Result<(), (Either<EndOfFile, Self::Err>, usize)>
[src]
&mut self,
buf: &[T]
) -> Result<(), (Either<EndOfFile, Self::Err>, usize)>
impl<T: DerefMut<Target = [u8]>> Write for Pos<T>
[src]
Auto Trait Implementations
impl<T> Send for Pos<T> where
T: Send,
T: Send,
impl<T> Sync for Pos<T> where
T: Sync,
T: Sync,
impl<T> Unpin for Pos<T> where
T: Unpin,
T: Unpin,
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<!> for 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<'a, T, R> Read<T> for R where
R: DerefMut + ?Sized,
T: Copy,
<R as Deref>::Target: Read<T>,
[src]
R: DerefMut + ?Sized,
T: Copy,
<R as Deref>::Target: Read<T>,
type Err = <<R as Deref>::Target as Read<T>>::Err
fn read(&mut Self, &mut [T]) -> Result<usize, <R as Read<T>>::Err>
[src]
fn readv(&mut Self, &mut [&mut [T]]) -> Result<usize, <R as Read<T>>::Err>
[src]
fn try_read_full(&mut self, buf: &mut [T]) -> Result<usize, (Self::Err, usize)>
[src]
fn read_full<E: From<Self::Err> + From<EndOfFile>>(
&mut self,
buf: &mut [T]
) -> Result<(), (E, usize)>
[src]
&mut self,
buf: &mut [T]
) -> Result<(), (E, usize)>
fn size_hint(&self) -> (usize, Option<usize>)
[src]
fn data(self) -> Data<Self, T>ⓘ where
Self: Sized,
[src]
Self: Sized,
fn read_onto_vec<A: Alloc>(
&mut self,
xs: &mut Vec<T, A>
) -> Result<usize, Self::Err>
[src]
&mut self,
xs: &mut Vec<T, A>
) -> Result<usize, Self::Err>
fn split<P: FnMut(T) -> bool, E: From<Self::Err> + From<NoMemory>>(
self,
p: P,
keep_delim: bool
) -> Split<Self, T, P, E>ⓘ where
Self: Sized,
[src]
self,
p: P,
keep_delim: bool
) -> Split<Self, T, P, E>ⓘ where
Self: Sized,
impl<T> TryClone for T where
T: Clone,
T: Clone,
type Error = Void
fn try_clone(&self) -> Result<T, Void>
fn try_clone_from(&mut self, other: &T) -> Result<(), Void>
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>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<'a, T, W> Write<T> for W where
T: Copy,
W: DerefMut + ?Sized,
<W as Deref>::Target: Write<T>,
[src]
T: Copy,
W: DerefMut + ?Sized,
<W as Deref>::Target: Write<T>,
type Err = <<W as Deref>::Target as Write<T>>::Err
fn write(&mut Self, &[T]) -> Result<usize, <W as Write<T>>::Err>
[src]
fn writev(&mut Self, &[&[T]]) -> Result<usize, <W as Write<T>>::Err>
[src]
fn flush(&mut Self) -> Result<(), <W as Write<T>>::Err>
[src]
fn write_all(&mut self, buf: &[T]) -> Result<(), (Self::Err, usize)> where
Self::Err: From<EndOfFile>,
[src]
Self::Err: From<EndOfFile>,
fn write_all_e(
&mut self,
buf: &[T]
) -> Result<(), (Either<EndOfFile, Self::Err>, usize)>
[src]
&mut self,
buf: &[T]
) -> Result<(), (Either<EndOfFile, Self::Err>, usize)>