Struct iroh_relay::client::ClientReceiver
source · pub struct ClientReceiver { /* private fields */ }
Expand description
Receiving end of a Client
.
Implementations§
source§impl ClientReceiver
impl ClientReceiver
sourcepub async fn recv(&mut self) -> Option<Result<ReceivedMessage, ClientError>>
pub async fn recv(&mut self) -> Option<Result<ReceivedMessage, ClientError>>
Reads a message from the server.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ClientReceiver
impl RefUnwindSafe for ClientReceiver
impl Send for ClientReceiver
impl Sync for ClientReceiver
impl Unpin for ClientReceiver
impl UnwindSafe for ClientReceiver
Blanket Implementations§
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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