pub struct TailerBuilder<B> { /* private fields */ }Expand description
Build tailers.
Implementations§
Source§impl<B: BufMut> TailerBuilder<B>
impl<B: BufMut> TailerBuilder<B>
Sourcepub fn push_tailers(
self,
fields: &[(&[u8], &[u8])],
) -> Result<PaddingBuilder<B>, Error>
pub fn push_tailers( self, fields: &[(&[u8], &[u8])], ) -> Result<PaddingBuilder<B>, Error>
Push all tailers at once.
Sourcepub fn append_tailer(self, field: (&[u8], &[u8])) -> Result<Self, Error>
pub fn append_tailer(self, field: (&[u8], &[u8])) -> Result<Self, Error>
Append a single tailer in indeterminate length mode.
Sourcepub fn next(self) -> Result<PaddingBuilder<B>, Error>
pub fn next(self) -> Result<PaddingBuilder<B>, Error>
Move to next builder in chain.
Auto Trait Implementations§
impl<B> Freeze for TailerBuilder<B>where
B: Freeze,
impl<B> RefUnwindSafe for TailerBuilder<B>where
B: RefUnwindSafe,
impl<B> Send for TailerBuilder<B>where
B: Send,
impl<B> Sync for TailerBuilder<B>where
B: Sync,
impl<B> Unpin for TailerBuilder<B>where
B: Unpin,
impl<B> UnsafeUnpin for TailerBuilder<B>where
B: UnsafeUnpin,
impl<B> UnwindSafe for TailerBuilder<B>where
B: UnwindSafe,
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