Struct kernel_hal::user::IoVec[][src]

#[repr(C)]pub struct IoVec<P: Policy> { /* fields omitted */ }

Implementations

impl<P: Policy> IoVec<P>[src]

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

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

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

pub fn check(&self) -> Result<(), Error>[src]

pub fn as_slice(&self) -> Result<&[u8], Error>[src]

impl<P: Write> IoVec<P>[src]

pub fn as_mut_slice(&mut self) -> Result<&mut [u8], Error>[src]

Trait Implementations

impl<P: Debug + Policy> Debug for IoVec<P>[src]

Auto Trait Implementations

impl<P> RefUnwindSafe for IoVec<P> where
    P: RefUnwindSafe

impl<P> Send for IoVec<P>

impl<P> Sync for IoVec<P>

impl<P> Unpin for IoVec<P> where
    P: Unpin

impl<P> UnwindSafe for IoVec<P> where
    P: UnwindSafe

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.