Trait Manage
tokio_resource_pool
pub trait Manage { type Resource: Send; type Error; type Future: Future<Item = Self::Resource, Error = Self::Error>; fn create(&self) -> Self::Future; }
A trait for managing the lifecycle of a resource.
type Resource: Send
type Error
type Future: Future<Item = Self::Resource, Error = Self::Error>
fn create(&self) -> Self::Future