pub struct VantageResult {
pub bee_url: String,
pub retrievable: Option<bool>,
pub elapsed_ms: u64,
pub error: Option<String>,
pub overlay: Option<String>,
pub bee_version: Option<String>,
pub proximity_to_root: Option<u32>,
pub target_proximity: Option<u32>,
}Fields§
§bee_url: String§retrievable: Option<bool>None means the call errored (see error).
elapsed_ms: u64§error: Option<String>§overlay: Option<String>Hex overlay address of the probed Bee, from GET /addresses. The
first 2 hex chars are the neighborhood the node sits in.
bee_version: Option<String>Bee semver, from GET /health (Bee’s version field).
proximity_to_root: Option<u32>Proximity order between the probe node’s overlay and the target reference. Higher = closer to where the chunk is stored. PO 0 means the probe is not in the chunk’s neighborhood at all.
target_proximity: Option<u32>PO between this vantage’s overlay and --target-overlay, when
that flag was supplied. Added in 0.4 — used to surface “this
is the closest vantage to your target neighborhood”.
Trait Implementations§
Source§impl Debug for VantageResult
impl Debug for VantageResult
Source§impl<'de> Deserialize<'de> for VantageResult
impl<'de> Deserialize<'de> for VantageResult
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 VantageResult
impl RefUnwindSafe for VantageResult
impl Send for VantageResult
impl Sync for VantageResult
impl Unpin for VantageResult
impl UnsafeUnpin for VantageResult
impl UnwindSafe for VantageResult
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