pub struct NVBodyList { /* private fields */ }
Expand description
Helper type to generate one or more NVBody Records, depending on the space needed
Implementations§
Source§impl NVBodyList
impl NVBodyList
pub fn new() -> NVBodyList
Sourcepub fn add(&mut self, pair: NameValuePair)
pub fn add(&mut self, pair: NameValuePair)
§Panics
If a KV-Pair is bigger than one Record
Trait Implementations§
Source§impl Extend<(Bytes, Bytes)> for NVBodyList
impl Extend<(Bytes, Bytes)> for NVBodyList
Source§fn extend<T: IntoIterator<Item = (Bytes, Bytes)>>(&mut self, iter: T)
fn extend<T: IntoIterator<Item = (Bytes, Bytes)>>(&mut self, iter: T)
Extends a collection with the contents of an iterator. Read more
Source§fn extend_one(&mut self, item: A)
fn extend_one(&mut self, item: A)
🔬This is a nightly-only experimental API. (
extend_one
)Extends a collection with exactly one element.
Source§fn extend_reserve(&mut self, additional: usize)
fn extend_reserve(&mut self, additional: usize)
🔬This is a nightly-only experimental API. (
extend_one
)Reserves capacity in a collection for the given number of additional elements. Read more
Source§impl FromIterator<(Bytes, Bytes)> for NVBodyList
impl FromIterator<(Bytes, Bytes)> for NVBodyList
Source§fn from_iter<T: IntoIterator<Item = (Bytes, Bytes)>>(iter: T) -> NVBodyList
fn from_iter<T: IntoIterator<Item = (Bytes, Bytes)>>(iter: T) -> NVBodyList
Creates a value from an iterator. Read more
Auto Trait Implementations§
impl Freeze for NVBodyList
impl RefUnwindSafe for NVBodyList
impl Send for NVBodyList
impl Sync for NVBodyList
impl Unpin for NVBodyList
impl UnwindSafe for NVBodyList
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more