pub struct PollRecv {
pub component_id: usize,
pub data: RecvData,
}Expand description
Data that should be sent to a peer as a result of calling Stream::poll_recv().
Fields§
§component_id: usize§data: RecvDataTrait Implementations§
Auto Trait Implementations§
impl Freeze for PollRecv
impl RefUnwindSafe for PollRecv
impl Send for PollRecv
impl Sync for PollRecv
impl Unpin for PollRecv
impl UnwindSafe for PollRecv
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