pub struct Trivial<Buffered>(/* private fields */);Expand description
The default BufferedToBody implementation that works for all IntoBody implementations.
Swap this type with your own to alter the type of body that the conversion targets.
This type in not intended to be instantiated.
Trait Implementations§
Source§impl<Buffered> BufferedToBody for Trivial<Buffered>where
Buffered: IntoBody,
impl<Buffered> BufferedToBody for Trivial<Buffered>where
Buffered: IntoBody,
Auto Trait Implementations§
impl<Buffered> Freeze for Trivial<Buffered>
impl<Buffered> RefUnwindSafe for Trivial<Buffered>where
Buffered: RefUnwindSafe,
impl<Buffered> Send for Trivial<Buffered>where
Buffered: Send,
impl<Buffered> Sync for Trivial<Buffered>where
Buffered: Sync,
impl<Buffered> Unpin for Trivial<Buffered>where
Buffered: Unpin,
impl<Buffered> UnwindSafe for Trivial<Buffered>where
Buffered: 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