pub struct EndpointRecv(/* private fields */);Expand description
Receiver for endpoint events.
Implementations§
Source§impl EndpointRecv
impl EndpointRecv
Sourcepub async fn recv(&mut self) -> Option<EndpointEvent>
pub async fn recv(&mut self) -> Option<EndpointEvent>
Receive an endpoint event.
Auto Trait Implementations§
impl Freeze for EndpointRecv
impl !RefUnwindSafe for EndpointRecv
impl Send for EndpointRecv
impl Sync for EndpointRecv
impl Unpin for EndpointRecv
impl !UnwindSafe for EndpointRecv
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