pub struct ClientManager { /* private fields */ }Implementations§
Trait Implementations§
Source§impl ClientLoader for ClientManager
impl ClientLoader for ClientManager
fn load_clients<'life0, 'async_trait>(
&'life0 mut self,
) -> Pin<Box<dyn Future<Output = Result<(), Box<dyn Error + Send + Sync>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn find(&self, name: &str) -> Option<Box<dyn Client>>
fn run<'life0, 'async_trait>(
&'life0 mut self,
) -> Pin<Box<dyn Future<Output = Receiver<Message>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Source§impl Clone for ClientManager
impl Clone for ClientManager
Source§fn clone(&self) -> ClientManager
fn clone(&self) -> ClientManager
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for ClientManager
impl !RefUnwindSafe for ClientManager
impl Send for ClientManager
impl Sync for ClientManager
impl Unpin for ClientManager
impl UnsafeUnpin for ClientManager
impl !UnwindSafe for ClientManager
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