Modules
Contents
use utopia_pools::Error;Rust
pub enum ErrorWhy a pool operation failed.
use utopia_pools::Resource;Rust
pub trait Resource: Send + Sync + 'staticWhat a pooled resource does when the pool needs it to: recover after failed work, and keep itself alive while idle. Both default to nothing: a resource that cannot recover is discarded after a failure.
Rust
pub type BoxError = Box<dyn std::error::Error + Send + Sync>Any error, as init and Resource::tick return them.