[][src]Struct rexsgdata::Iovec

pub struct Iovec(_);

Intermediate element that can represent either regular iovec or a sequence of zeroes

Methods

impl Iovec[src]

pub fn as_slice(&self) -> &[u8][src]

Get a view of an Element as a vector of slices Note Zle is represented by the same slice repeated

pub fn as_mut_slice(&mut self) -> &mut [u8][src]

pub fn as_iovec_mut(&self) -> iovec[src]

Trait Implementations

impl Send for Iovec[src]

impl<O> Extend<Iovec> for SgData<O> where
    O: Clone
[src]

impl<'a, O> Extend<&'a Iovec> for SgData<O> where
    O: Clone
[src]

impl Sync for Iovec[src]

impl PartialEq<Iovec> for Iovec[src]

#[must_use]
fn ne(&self, other: &Rhs) -> bool
1.0.0
[src]

This method tests for !=.

impl From<iovec> for Iovec[src]

impl From<(*mut c_void, usize)> for Iovec[src]

impl<'a> From<&'a [u8]> for Iovec[src]

impl<'a> From<&'a mut [u8]> for Iovec[src]

impl<O> From<Iovec> for SgData<O> where
    O: Clone
[src]

impl Clone for Iovec[src]

fn clone_from(&mut self, source: &Self)
1.0.0
[src]

Performs copy-assignment from source. Read more

impl Deref for Iovec[src]

type Target = [u8]

The resulting type after dereferencing.

impl Debug for Iovec[src]

impl<O> FromIterator<Iovec> for SgData<O> where
    O: Clone
[src]

impl Serialize for Iovec[src]

impl<'de> Deserialize<'de> for Iovec[src]

Blanket Implementations

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

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

impl<T> From for T[src]

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

type Error = !

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

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

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

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

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

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

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]

impl<T> SendSyncUnwindSafe for T where
    T: Send + Sync + UnwindSafe + ?Sized
[src]