pub struct RemoteConnectionManager { /* private fields */ }Implementations§
Source§impl RemoteConnectionManager
impl RemoteConnectionManager
pub fn new() -> Self
pub async fn get_connection( &self, connection_info: &RemoteConnectionInfo, ) -> Result<Arc<RemoteConnection>>
pub async fn remove_connection(&self, connection_string: &str)
pub async fn list_connections(&self) -> Vec<String>
Trait Implementations§
Auto Trait Implementations§
impl !Freeze for RemoteConnectionManager
impl !RefUnwindSafe for RemoteConnectionManager
impl Send for RemoteConnectionManager
impl Sync for RemoteConnectionManager
impl Unpin for RemoteConnectionManager
impl !UnwindSafe for RemoteConnectionManager
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