pub struct ReceivedApplicationData<'a, Side: SideData> { /* private fields */ }Expand description
Received application data.
Implementations§
Source§impl<Side: SideData> ReceivedApplicationData<'_, Side>
impl<Side: SideData> ReceivedApplicationData<'_, Side>
Sourcepub fn into_next(self) -> ReceiveTrafficState<'static, Side>
pub fn into_next(self) -> ReceiveTrafficState<'static, Side>
Finish processing this received data.
This acts upon the source buffer (used with the ReceiveTraffic::read() call) to
discard the received data.
Returns the next ReceiveTrafficState state.
Auto Trait Implementations§
impl<'a, Side> !RefUnwindSafe for ReceivedApplicationData<'a, Side>
impl<'a, Side> !Send for ReceivedApplicationData<'a, Side>
impl<'a, Side> !Sync for ReceivedApplicationData<'a, Side>
impl<'a, Side> !UnwindSafe for ReceivedApplicationData<'a, Side>
impl<'a, Side> Freeze for ReceivedApplicationData<'a, Side>where
<Side as Side>::State: Freeze,
impl<'a, Side> Unpin for ReceivedApplicationData<'a, Side>where
<Side as Side>::State: Unpin,
impl<'a, Side> UnsafeUnpin for ReceivedApplicationData<'a, Side>where
<Side as Side>::State: UnsafeUnpin,
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