pub struct BytesBody { /* private fields */ }Implementations§
Trait Implementations§
Source§impl From<BytesBody> for LieResponse
impl From<BytesBody> for LieResponse
Source§impl FromRequest for BytesBody
impl FromRequest for BytesBody
type Rejection = ReadBodyRejection
fn from_request<'life0, 'async_trait>(
req: &'life0 mut RequestParts,
) -> Pin<Box<dyn Future<Output = Result<Self, Self::Rejection>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Auto Trait Implementations§
impl !Freeze for BytesBody
impl RefUnwindSafe for BytesBody
impl Send for BytesBody
impl Sync for BytesBody
impl Unpin for BytesBody
impl UnwindSafe for BytesBody
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