[][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 Clone for Iovec[src]

impl Debug for Iovec[src]

impl Deref for Iovec[src]

type Target = [u8]

The resulting type after dereferencing.

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

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

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

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

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

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

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

impl From<iovec> for Iovec[src]

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

impl PartialEq<Iovec> for Iovec[src]

impl Send for Iovec[src]

impl Serialize for Iovec[src]

impl Sync for Iovec[src]

Auto Trait Implementations

impl RefUnwindSafe for Iovec

impl Unpin for Iovec

impl UnwindSafe for Iovec

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> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]

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

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

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

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

type Owned = T

The resulting type after obtaining ownership.

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.