pub struct BytesVecBuilder(/* private fields */);
Implementations§
Source§impl BytesVecBuilder
impl BytesVecBuilder
pub fn set(self, v: Vec<Bytes>) -> BytesVecBuilder
pub fn push(self, v: Bytes) -> BytesVecBuilder
pub fn extend<T>(self, iter: T) -> BytesVecBuilderwhere
T: IntoIterator<Item = Bytes>,
pub fn replace(&mut self, index: usize, v: Bytes) -> Option<Bytes>
Trait Implementations§
Source§impl Builder for BytesVecBuilder
impl Builder for BytesVecBuilder
Source§impl Debug for BytesVecBuilder
impl Debug for BytesVecBuilder
Source§impl Default for BytesVecBuilder
impl Default for BytesVecBuilder
Source§fn default() -> BytesVecBuilder
fn default() -> BytesVecBuilder
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for BytesVecBuilder
impl RefUnwindSafe for BytesVecBuilder
impl Send for BytesVecBuilder
impl Sync for BytesVecBuilder
impl Unpin for BytesVecBuilder
impl UnwindSafe for BytesVecBuilder
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