pub struct DriverHandle { /* private fields */ }Implementations§
Source§impl DriverHandle
impl DriverHandle
pub fn new( sender: UnboundedSender<MessageToServer>, abort_handle: AbortHandle, ) -> Self
pub async fn send(&self, msg: Arc<ToServer>) -> Result<()>
pub fn disconnect(&self)
Trait Implementations§
Source§impl Debug for DriverHandle
impl Debug for DriverHandle
Source§impl Drop for DriverHandle
impl Drop for DriverHandle
Auto Trait Implementations§
impl Freeze for DriverHandle
impl RefUnwindSafe for DriverHandle
impl Send for DriverHandle
impl Sync for DriverHandle
impl Unpin for DriverHandle
impl UnsafeUnpin for DriverHandle
impl UnwindSafe for DriverHandle
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