pub struct ResponseBuffer<T: Transport, M> { /* private fields */ }
Expand description
A strongly typed receive buffer.
Implementations§
Source§impl<T: Transport, M> ResponseBuffer<T, M>
impl<T: Transport, M> ResponseBuffer<T, M>
Sourcepub fn from_untyped(buffer: T::RecvBuffer) -> Self
pub fn from_untyped(buffer: T::RecvBuffer) -> Self
Creates a new strongly typed receive buffer from an untyped receive buffer.
Sourcepub fn into_untyped(self) -> T::RecvBuffer
pub fn into_untyped(self) -> T::RecvBuffer
Returns the underlying untyped receive buffer.
Auto Trait Implementations§
impl<T, M> Freeze for ResponseBuffer<T, M>
impl<T, M> RefUnwindSafe for ResponseBuffer<T, M>
impl<T, M> Send for ResponseBuffer<T, M>where
M: Send,
impl<T, M> Sync for ResponseBuffer<T, M>
impl<T, M> Unpin for ResponseBuffer<T, M>
impl<T, M> UnwindSafe for ResponseBuffer<T, 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