pub struct SavedBody { /* private fields */ }Implementations§
Source§impl SavedBody
impl SavedBody
pub fn new(max_length: usize) -> Self
pub fn save_body_bytes(&mut self, body_bytes: Bytes) -> bool
pub fn is_body_complete(&self) -> bool
pub fn set_body_complete(&mut self)
Trait Implementations§
Auto Trait Implementations§
impl Freeze for SavedBody
impl RefUnwindSafe for SavedBody
impl Send for SavedBody
impl Sync for SavedBody
impl Unpin for SavedBody
impl UnsafeUnpin for SavedBody
impl UnwindSafe for SavedBody
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