pub struct ResourcePoolEmpty;Expand description
An error that may, instead of waiting for a Resource to become available, be returned if no
Resources were available in a bounded pool.
Trait Implementations§
Source§impl Clone for ResourcePoolEmpty
impl Clone for ResourcePoolEmpty
Source§fn clone(&self) -> ResourcePoolEmpty
fn clone(&self) -> ResourcePoolEmpty
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ResourcePoolEmpty
impl Debug for ResourcePoolEmpty
Source§impl Display for ResourcePoolEmpty
impl Display for ResourcePoolEmpty
Source§impl Error for ResourcePoolEmpty
impl Error for ResourcePoolEmpty
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
impl Copy for ResourcePoolEmpty
Auto Trait Implementations§
impl Freeze for ResourcePoolEmpty
impl RefUnwindSafe for ResourcePoolEmpty
impl Send for ResourcePoolEmpty
impl Sync for ResourcePoolEmpty
impl Unpin for ResourcePoolEmpty
impl UnwindSafe for ResourcePoolEmpty
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