pub struct RequestBytes<M: Method> { /* private fields */ }Expand description
Validated, immutable bytes bound to a method and direction. Retain these for retries; the codec does not decide when retry is safe.
Implementations§
Auto Trait Implementations§
impl<M> Freeze for RequestBytes<M>
impl<M> RefUnwindSafe for RequestBytes<M>
impl<M> Send for RequestBytes<M>
impl<M> Sync for RequestBytes<M>
impl<M> Unpin for RequestBytes<M>
impl<M> UnsafeUnpin for RequestBytes<M>
impl<M> UnwindSafe for RequestBytes<M>
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