pub struct FetchStateSummary {
pub pending_requests: HashMap<OpId, Vec<Url>>,
}Expand description
Summary of the fetch state.
Fields§
§pending_requests: HashMap<OpId, Vec<Url>>The op ids that are currently being fetched.
Each op id is associated with one or more peer URL from which the op data could be requested.
Trait Implementations§
Source§impl Clone for FetchStateSummary
impl Clone for FetchStateSummary
Source§fn clone(&self) -> FetchStateSummary
fn clone(&self) -> FetchStateSummary
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 FetchStateSummary
impl Debug for FetchStateSummary
Source§impl<'de> Deserialize<'de> for FetchStateSummary
impl<'de> Deserialize<'de> for FetchStateSummary
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
Auto Trait Implementations§
impl Freeze for FetchStateSummary
impl RefUnwindSafe for FetchStateSummary
impl Send for FetchStateSummary
impl Sync for FetchStateSummary
impl Unpin for FetchStateSummary
impl UnwindSafe for FetchStateSummary
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