pub struct FetchReport {Show 21 fields
pub set_id: String,
pub descriptor_b3: String,
pub verified_against: &'static str,
pub volumes_wanted: Vec<usize>,
pub volumes_completed: Vec<usize>,
pub volumes_partial: Vec<usize>,
pub pieces_received: usize,
pub pieces_rejected: usize,
pub pieces_reverified: usize,
pub pieces_reverify_failed: usize,
pub bytes_reserved: u64,
pub peers_used: Vec<String>,
pub reconstructible: bool,
pub stopped_early: bool,
pub encrypted: bool,
pub requests: usize,
pub bytes_received: u64,
pub seconds_connect: f64,
pub seconds_handshake: f64,
pub seconds_transfer: f64,
pub seconds_total: f64,
}Fields§
§set_id: String§descriptor_b3: String§verified_against: &'static str“descriptor” when the descriptor hash was supplied and matched, else “set id”.
volumes_wanted: Vec<usize>§volumes_completed: Vec<usize>§volumes_partial: Vec<usize>§pieces_received: usize§pieces_rejected: usizePieces or descriptors from peers that failed verification or arrived malformed.
pieces_reverified: usizePieces of partial files that were re-read on resume and matched their hash.
pieces_reverify_failed: usizePieces the map declared complete whose bytes on disk did not match (fetched again).
bytes_reserved: u64Bytes reserved on disk for the wanted volumes (full volume sizes).
peers_used: Vec<String>§reconstructible: boolAfter the fetch, with everything local (existing volumes + out_dir).
stopped_early: bool§encrypted: boolTrue when the connections were TLS sessions with pinned peer identities.
requests: usizeConnections opened (one per request) and payload bytes received.
bytes_received: u64§seconds_connect: f64Seconds spent in TCP connects, TLS handshakes, request/response transfers, and in total (including local verification and disk writes).
seconds_handshake: f64§seconds_transfer: f64§seconds_total: f64Trait Implementations§
Source§impl Clone for FetchReport
impl Clone for FetchReport
Source§impl Debug for FetchReport
impl Debug for FetchReport
Auto Trait Implementations§
impl Freeze for FetchReport
impl RefUnwindSafe for FetchReport
impl Send for FetchReport
impl Sync for FetchReport
impl Unpin for FetchReport
impl UnsafeUnpin for FetchReport
impl UnwindSafe for FetchReport
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,
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