pub enum BodyRef<'a> {
Request(RequestRef<'a>),
Response(ResponseRef<'a>),
Notification(NotificationRef<'a>),
Log(LogRef<'a>),
}
Expand description
Reference to a deserialized Body.
Variants§
Request(RequestRef<'a>)
Response(ResponseRef<'a>)
Notification(NotificationRef<'a>)
Log(LogRef<'a>)
Trait Implementations§
impl<'a> Copy for BodyRef<'a>
Auto Trait Implementations§
impl<'a> Freeze for BodyRef<'a>
impl<'a> RefUnwindSafe for BodyRef<'a>
impl<'a> Send for BodyRef<'a>
impl<'a> Sync for BodyRef<'a>
impl<'a> Unpin for BodyRef<'a>
impl<'a> UnwindSafe for BodyRef<'a>
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