#[non_exhaustive]pub struct OverlayPeerStatus {
pub label: String,
pub cursor: u64,
pub synced_through: Option<u64>,
pub last_error: Option<String>,
pub last_error_at: Option<u64>,
pub backoff_until: Option<u64>,
pub last_progress_at: Option<u64>,
pub link: Option<PeerLink>,
}Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.label: String§cursor: u64§synced_through: Option<u64>§last_error: Option<String>§last_error_at: Option<u64>§backoff_until: Option<u64>Unix second until which sync skips this peer after a peer error.
last_progress_at: Option<u64>Unix second of this peer’s last turn with an admission or coverage.
link: Option<PeerLink>The peer’s link right now; null while it has no connection.
Trait Implementations§
Source§impl Clone for OverlayPeerStatus
impl Clone for OverlayPeerStatus
Source§impl Debug for OverlayPeerStatus
impl Debug for OverlayPeerStatus
Source§impl Default for OverlayPeerStatus
impl Default for OverlayPeerStatus
Source§impl<'de> Deserialize<'de> for OverlayPeerStatus
impl<'de> Deserialize<'de> for OverlayPeerStatus
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
impl Eq for OverlayPeerStatus
Source§impl PartialEq for OverlayPeerStatus
impl PartialEq for OverlayPeerStatus
Source§impl Serialize for OverlayPeerStatus
impl Serialize for OverlayPeerStatus
impl StructuralPartialEq for OverlayPeerStatus
Auto Trait Implementations§
impl Freeze for OverlayPeerStatus
impl RefUnwindSafe for OverlayPeerStatus
impl Send for OverlayPeerStatus
impl Sync for OverlayPeerStatus
impl Unpin for OverlayPeerStatus
impl UnsafeUnpin for OverlayPeerStatus
impl UnwindSafe for OverlayPeerStatus
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