pub struct HttpClientReceiver { /* private fields */ }
👎Deprecated: This crate has been renamed from ‘iroh-net’ to ‘iroh’, please use the new crate
Expand description
Receiving end of a Client
.
Implementations§
Source§impl ClientReceiver
impl ClientReceiver
Sourcepub async fn recv(&mut self) -> Option<Result<ReceivedMessage, ClientError>>
👎Deprecated: This crate has been renamed from ‘iroh-net’ to ‘iroh’, please use the new crate
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§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§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