Struct deadpool_postgres::Timeouts [−][src]
pub struct Timeouts {
pub wait: Option<Duration>,
pub create: Option<Duration>,
pub recycle: Option<Duration>,
}
Fields
wait: Option<Duration>
Timeout when waiting for a slot to become available.
create: Option<Duration>
Timeout when creating a new object.
recycle: Option<Duration>
Timeout when recycling an object.
Implementations
Trait Implementations
pub fn deserialize<__D>(
__deserializer: __D
) -> Result<Timeouts, <__D as Deserializer<'de>>::Error> where
__D: Deserializer<'de>,
pub fn deserialize<__D>(
__deserializer: __D
) -> Result<Timeouts, <__D as Deserializer<'de>>::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations
impl RefUnwindSafe for Timeouts
impl UnwindSafe for Timeouts
Blanket Implementations
Mutably borrows from an owned value. Read more