pub struct ClientBroker<T> { /* private fields */ }Implementations§
Source§impl<T> ClientBroker<T>
impl<T> ClientBroker<T>
pub fn init( network_topology: StdArc<NetworkTopology>, container_state: StdArc<AtomicUsize>, container_state_notify: StdArc<Notify>, ) -> Self
pub async fn handle_message(&self, message: ClientBrokerMessage<T>)
pub async fn forward_shutdown(&mut self, message: T)
pub async fn shutdown(&mut self)
Trait Implementations§
Auto Trait Implementations§
impl<T> Freeze for ClientBroker<T>
impl<T> !RefUnwindSafe for ClientBroker<T>
impl<T> Send for ClientBroker<T>where
T: Send,
impl<T> Sync for ClientBroker<T>where
T: Send,
impl<T> Unpin for ClientBroker<T>
impl<T> !UnwindSafe for ClientBroker<T>
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