[][src]Struct uapi::InitializedIovec

pub struct InitializedIovec<'a> { /* fields omitted */ }

A wrapper for a partially initialized iovec

Implementations

impl<'a> InitializedIovec<'a>[src]

pub fn iter(&self) -> impl Iterator<Item = &'a [u8]>[src]

Returns an iterator over the initialized components of the iovec

pub fn len(&self) -> usize[src]

Returns the number of initialized bytes

pub fn is_empty(&self) -> bool[src]

Returns if there are no initialized bytes

Trait Implementations

impl<'a> IntoIterator for InitializedIovec<'a>[src]

type Item = &'a [u8]

The type of the elements being iterated over.

type IntoIter = InitializedIovecIter<'a>

Which kind of iterator are we turning this into?

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.