[−][src]Struct rexsgdata::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]
O: Clone,
fn extend<T>(&mut self, iter: T) where
T: IntoIterator<Item = Iovec>,
[src]
T: IntoIterator<Item = Iovec>,
impl<'a, O> Extend<&'a Iovec> for SgData<O> where
O: Clone,
[src]
O: Clone,
fn extend<T>(&mut self, iter: T) where
T: IntoIterator<Item = &'a Iovec>,
[src]
T: IntoIterator<Item = &'a Iovec>,
impl Sync for Iovec
[src]
impl PartialEq<Iovec> for Iovec
[src]
fn eq(&self, other: &Self) -> bool
[src]
#[must_use]
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
fn ne(&self, other: &Rhs) -> boolThis 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]
O: Clone,
impl Clone for Iovec
[src]
fn clone(&self) -> 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]
impl Debug for Iovec
[src]
impl<O> FromIterator<Iovec> for SgData<O> where
O: Clone,
[src]
O: Clone,
fn from_iter<T>(iter: T) -> Self where
T: IntoIterator<Item = Iovec>,
[src]
T: IntoIterator<Item = Iovec>,
impl Serialize for Iovec
[src]
impl<'de> Deserialize<'de> for Iovec
[src]
fn deserialize<D>(_deserializer: D) -> Result<Self, D::Error> where
D: Deserializer<'de>,
[src]
D: Deserializer<'de>,
Blanket Implementations
impl<T, U> Into for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
impl<T> From for T
[src]
impl<T, U> TryFrom for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = !
🔬 This is a nightly-only experimental API. (
try_from
)The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T> Borrow for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> BorrowMut for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T, U> TryInto for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
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.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> DeserializeOwned for T where
T: Deserialize<'de>,
[src]
T: Deserialize<'de>,
impl<T> SendSyncUnwindSafe for T where
T: Send + Sync + UnwindSafe + ?Sized,
[src]
T: Send + Sync + UnwindSafe + ?Sized,