pub struct PruneReport {
pub removed: Vec<u32>,
pub kept: Vec<(u32, String)>,
}Expand description
What pool prune did: which slots it removed, and which it kept and why.
Fields§
§removed: Vec<u32>The slots removed, by number.
kept: Vec<(u32, String)>The slots kept, each with the reason.
Trait Implementations§
Source§impl Clone for PruneReport
impl Clone for PruneReport
Source§impl Debug for PruneReport
impl Debug for PruneReport
Source§impl<'de> Deserialize<'de> for PruneReport
impl<'de> Deserialize<'de> for PruneReport
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for PruneReport
Source§impl PartialEq for PruneReport
impl PartialEq for PruneReport
Source§impl Serialize for PruneReport
impl Serialize for PruneReport
impl StructuralPartialEq for PruneReport
Auto Trait Implementations§
impl Freeze for PruneReport
impl RefUnwindSafe for PruneReport
impl Send for PruneReport
impl Sync for PruneReport
impl Unpin for PruneReport
impl UnsafeUnpin for PruneReport
impl UnwindSafe for PruneReport
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
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,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
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
Compare self to
key and return true if they are equal.