pub enum InstallMemoryPoolsError {
PoolsInUse {
bytes_in_use: u64,
},
StreamUnavailable,
Unsupported,
}Expand description
Why installing a dynamic pool layout did not take effect.
The layout itself was already valid — that is
PoolConfigError, reported when the configuration is
resolved. This is about the pools’ state at the moment of the swap.
Variants§
PoolsInUse
The dynamic pools still hold live allocations, so the old layout was kept. A live slice carries its pool position, and swapping the pool list under it would leave that position pointing at a different pool.
Transient: retry once whatever holds them drains. A cleanup that does not clear it usually means a cache is holding slices (the metadata info cache) or a captured graph is pinning them.
The calling stream could not be resolved because it is already in an error state. The layout still applies to streams created afterwards; the underlying failure surfaces at the next flush or sync, as usual.
Unsupported
This server has no configurable dynamic pools. Permanent — unlike
PoolsInUse, retrying will never succeed.
Trait Implementations§
Source§impl Clone for InstallMemoryPoolsError
impl Clone for InstallMemoryPoolsError
Source§fn clone(&self) -> InstallMemoryPoolsError
fn clone(&self) -> InstallMemoryPoolsError
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreimpl Copy for InstallMemoryPoolsError
Source§impl Debug for InstallMemoryPoolsError
impl Debug for InstallMemoryPoolsError
Source§impl Display for InstallMemoryPoolsError
impl Display for InstallMemoryPoolsError
impl Eq for InstallMemoryPoolsError
Source§impl Error for InstallMemoryPoolsError
impl Error for InstallMemoryPoolsError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
use the Display impl or to_string()
Source§impl PartialEq for InstallMemoryPoolsError
impl PartialEq for InstallMemoryPoolsError
impl StructuralPartialEq for InstallMemoryPoolsError
Auto Trait Implementations§
impl Freeze for InstallMemoryPoolsError
impl RefUnwindSafe for InstallMemoryPoolsError
impl Send for InstallMemoryPoolsError
impl Sync for InstallMemoryPoolsError
impl Unpin for InstallMemoryPoolsError
impl UnsafeUnpin for InstallMemoryPoolsError
impl UnwindSafe for InstallMemoryPoolsError
Blanket Implementations§
impl<T> AnyError for T
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Downcast for Twhere
T: Any,
impl<T> Downcast for Twhere
T: Any,
Source§fn into_any(self: Box<T>) -> Box<dyn Any>
fn into_any(self: Box<T>) -> Box<dyn Any>
Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>, which can then be
downcast into Box<dyn ConcreteType> where ConcreteType implements Trait.Source§fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
Rc<Trait> (where Trait: Downcast) to Rc<Any>, which can then be further
downcast into Rc<ConcreteType> where ConcreteType implements Trait.Source§fn as_any(&self) -> &(dyn Any + 'static)
fn as_any(&self) -> &(dyn Any + 'static)
&Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &Any’s vtable from &Trait’s.Source§fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
&mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &mut Any’s vtable from &mut Trait’s.Source§impl<T> DowncastSend for T
impl<T> DowncastSend for T
Source§impl<T> DowncastSync for T
impl<T> DowncastSync for T
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more