Struct graphql_ws_client::ConnectionActor
source · pub struct ConnectionActor { /* private fields */ }
Expand description
The ConnectionActor
contains the main loop for handling incoming
& outgoing messages for a Client.
This type implements IntoFuture
and should usually be spawned
with an async runtime.
Trait Implementations§
source§impl IntoFuture for ConnectionActor
impl IntoFuture for ConnectionActor
§type IntoFuture = Pin<Box<dyn Future<Output = ()> + Send>>
type IntoFuture = Pin<Box<dyn Future<Output = ()> + Send>>
Which kind of future are we turning this into?
source§fn into_future(self) -> Self::IntoFuture
fn into_future(self) -> Self::IntoFuture
Creates a future from a value. Read more
Auto Trait Implementations§
impl Freeze for ConnectionActor
impl !RefUnwindSafe for ConnectionActor
impl Send for ConnectionActor
impl !Sync for ConnectionActor
impl Unpin for ConnectionActor
impl !UnwindSafe for ConnectionActor
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