pub struct RemoteInfo {
pub endpoint: String,
pub last_status: Option<String>,
pub requests: u64,
pub auth_refused: u64,
pub unavailable: u64,
pub coalesced: u64,
}Expand description
Sanitized optional HTTP transport state, with no credentials or response bodies.
Fields§
§endpoint: StringSanitized endpoint, without URL credentials or query strings.
last_status: Option<String>Most recent result category (for example ok, http-401, timeout).
requests: u64HTTP requests attempted since this endpoint was configured.
auth_refused: u64Requests refused for authentication or authorization.
Requests that could not deliver usable bytes.
coalesced: u64Concurrent same-key readers joined to an existing lookup.
Trait Implementations§
Source§impl Clone for RemoteInfo
impl Clone for RemoteInfo
Source§impl Debug for RemoteInfo
impl Debug for RemoteInfo
Source§impl<'de> Deserialize<'de> for RemoteInfo
impl<'de> Deserialize<'de> for RemoteInfo
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 RemoteInfo
Source§impl PartialEq for RemoteInfo
impl PartialEq for RemoteInfo
Source§impl Serialize for RemoteInfo
impl Serialize for RemoteInfo
impl StructuralPartialEq for RemoteInfo
Auto Trait Implementations§
impl Forget for RemoteInfo
impl Freeze for RemoteInfo
impl Move for RemoteInfo
impl RefUnwindSafe for RemoteInfo
impl Send for RemoteInfowhere
RawVecInner: Send,
impl Sync for RemoteInfowhere
RawVecInner: Sync,
impl Unpin for RemoteInfo
impl UnsafeUnpin for RemoteInfo
impl UnwindSafe for RemoteInfowhere
RawVecInner: UnwindSafe,
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