Enum rexsgdata::Element [] [src]

pub enum Element {
    Zero(usize),
    Iovec(iovec),
}

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

Variants

A block of zeroes of a specified size

Regular iovec

Methods

impl Element
[src]

[src]

Constructs Element::Zero variant of a specified size

Trait Implementations

impl FromIterator<Element> for SgData
[src]

[src]

Creates a value from an iterator. Read more

impl From<iovec> for Element
[src]

[src]

Performs the conversion.

impl From<(*mut c_void, size_t)> for Element
[src]

[src]

Performs the conversion.

impl Debug for Element
[src]

[src]

Formats the value using the given formatter. Read more

impl PartialEq for Element
[src]

[src]

This method tests for self and other values to be equal, and is used by ==. Read more

1.0.0
[src]

This method tests for !=.

impl Send for Element
[src]

impl Sync for Element
[src]

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

[src]

Deserialize this value from the given Serde deserializer. Read more