pub struct ChunkVantage {
pub found: bool,
pub elapsed_ms: u64,
pub error: Option<String>,
pub proximity: Option<u32>,
}Fields§
§found: bool§elapsed_ms: u64§error: Option<String>§proximity: Option<u32>Proximity between this vantage’s overlay and the chunk address. Unset when the vantage’s overlay couldn’t be fetched.
Trait Implementations§
Source§impl Debug for ChunkVantage
impl Debug for ChunkVantage
Source§impl<'de> Deserialize<'de> for ChunkVantage
impl<'de> Deserialize<'de> for ChunkVantage
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 ChunkVantage
impl RefUnwindSafe for ChunkVantage
impl Send for ChunkVantage
impl Sync for ChunkVantage
impl Unpin for ChunkVantage
impl UnsafeUnpin for ChunkVantage
impl UnwindSafe for ChunkVantage
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