pub struct OnDemandAgentManager { /* private fields */ }Implementations§
Source§impl OnDemandAgentManager
impl OnDemandAgentManager
pub async fn new(opts: OnDemandAgentManagerOptions) -> Result<Self>
pub fn get_cluster_agent(&self) -> Weak<Agent>
pub async fn get_bucket_agent( &self, bucket_name: impl Into<String>, ) -> Result<Weak<Agent>>
pub async fn reconfigure_agents(&self, opts: ReconfigureAgentOptions)
Trait Implementations§
Auto Trait Implementations§
impl !Freeze for OnDemandAgentManager
impl !RefUnwindSafe for OnDemandAgentManager
impl Send for OnDemandAgentManager
impl Sync for OnDemandAgentManager
impl Unpin for OnDemandAgentManager
impl UnsafeUnpin for OnDemandAgentManager
impl !UnwindSafe for OnDemandAgentManager
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