pub struct ConnectionHandle { /* private fields */ }
Expand description
A handle to a backend. Communicates to a ConnectionInterface
on the
backend.
The backend SHOULD shut down when the handle is dropped (as indicated by the shutdown channel).
Implementations§
source§impl ConnectionHandle
impl ConnectionHandle
sourcepub fn new() -> (Self, ConnectionInterface)
pub fn new() -> (Self, ConnectionInterface)
Create a new connection handle.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ConnectionHandle
impl !RefUnwindSafe for ConnectionHandle
impl Send for ConnectionHandle
impl Sync for ConnectionHandle
impl Unpin for ConnectionHandle
impl !UnwindSafe for ConnectionHandle
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