Struct mainline::common::StoreQueryMetdata
source · pub struct StoreQueryMetdata { /* private fields */ }
Implementations§
source§impl StoreQueryMetdata
impl StoreQueryMetdata
pub fn new(target: Id, closest_nodes: Vec<Node>, stored_at: Vec<Id>) -> Self
sourcepub fn stored_at(&self) -> Vec<&Node>
pub fn stored_at(&self) -> Vec<&Node>
Return the set of nodes that confirmed storing the value.
sourcepub fn closest_nodes(&self) -> Vec<Node>
pub fn closest_nodes(&self) -> Vec<Node>
Return closest nodes. Useful to repeat the store operation without repeating the lookup.
Trait Implementations§
source§impl Clone for StoreQueryMetdata
impl Clone for StoreQueryMetdata
source§fn clone(&self) -> StoreQueryMetdata
fn clone(&self) -> StoreQueryMetdata
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 moreAuto Trait Implementations§
impl RefUnwindSafe for StoreQueryMetdata
impl Send for StoreQueryMetdata
impl Sync for StoreQueryMetdata
impl Unpin for StoreQueryMetdata
impl UnwindSafe for StoreQueryMetdata
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