pub struct SNodeStore {
pub store: BTreeMap<String, SNode>,
pub deadpool: HashMap<String, SNode>,
}Expand description
Stof Node store.
Fields§
§store: BTreeMap<String, SNode>Nodes.
deadpool: HashMap<String, SNode>Deadpool.
Trait Implementations§
Source§impl Clone for SNodeStore
impl Clone for SNodeStore
Source§fn clone(&self) -> SNodeStore
fn clone(&self) -> SNodeStore
Returns a copy 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 SNodeStore
impl Debug for SNodeStore
Source§impl Default for SNodeStore
impl Default for SNodeStore
Source§fn default() -> SNodeStore
fn default() -> SNodeStore
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for SNodeStore
impl<'de> Deserialize<'de> for SNodeStore
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
Source§impl Serialize for SNodeStore
impl Serialize for SNodeStore
Source§impl Store<SNode> for SNodeStore
impl Store<SNode> for SNodeStore
Source§fn flush_deadpool(&mut self) -> Vec<SNode>
fn flush_deadpool(&mut self) -> Vec<SNode>
Flush deadpool.
Auto Trait Implementations§
impl Freeze for SNodeStore
impl RefUnwindSafe for SNodeStore
impl Send for SNodeStore
impl Sync for SNodeStore
impl Unpin for SNodeStore
impl UnwindSafe for SNodeStore
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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>
Converts
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>
Converts
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