pub struct BodyCodec<S> { /* private fields */ }Expand description
One Base64 codec paired with an encoded-body line layout.
This value describes body bytes only. It does not parse MIME headers, PEM labels or boundaries, or any surrounding protocol container.
Implementations§
Trait Implementations§
impl<S: Copy> Copy for BodyCodec<S>
impl<S: Eq> Eq for BodyCodec<S>
impl<S: PartialEq> StructuralPartialEq for BodyCodec<S>
Auto Trait Implementations§
impl<S> Freeze for BodyCodec<S>where
S: Freeze,
impl<S> RefUnwindSafe for BodyCodec<S>where
S: RefUnwindSafe,
impl<S> Send for BodyCodec<S>where
S: Send,
impl<S> Sync for BodyCodec<S>where
S: Sync,
impl<S> Unpin for BodyCodec<S>where
S: Unpin,
impl<S> UnsafeUnpin for BodyCodec<S>where
S: UnsafeUnpin,
impl<S> UnwindSafe for BodyCodec<S>where
S: 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