pub struct DecodedRequest<'a> { /* private fields */ }Implementations§
Source§impl<'a> DecodedRequest<'a>
impl<'a> DecodedRequest<'a>
pub const fn request_id(&self) -> u64
pub const fn required_response_bytes(&self) -> u32
pub const fn body(&self) -> &DecodedRequestBody<'a>
pub fn into_body(self) -> DecodedRequestBody<'a>
Trait Implementations§
Auto Trait Implementations§
impl<'a> !RefUnwindSafe for DecodedRequest<'a>
impl<'a> !Send for DecodedRequest<'a>
impl<'a> !Sync for DecodedRequest<'a>
impl<'a> !UnwindSafe for DecodedRequest<'a>
impl<'a> Freeze for DecodedRequest<'a>
impl<'a> Unpin for DecodedRequest<'a>
impl<'a> UnsafeUnpin for DecodedRequest<'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