pub struct LazyBody { /* private fields */ }Expand description
Lazy-deserialized message body
The body is stored in raw form and only deserialized when accessed.
Uses interior mutability with RwLock to cache the deserialized value.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for LazyBody
impl RefUnwindSafe for LazyBody
impl Send for LazyBody
impl Sync for LazyBody
impl Unpin for LazyBody
impl UnwindSafe for LazyBody
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