pub struct CurrentMetricsResponse(pub Option<Metrics>);Expand description
A Sandstorm get current metrics response.
Tuple Fields§
§0: Option<Metrics>The metrics snapshot returned by the server, or None if the server refused to send back
a metrics snapshot (if, for example, it is not tracking metrics).
Trait Implementations§
Source§impl ByteRead for CurrentMetricsResponse
impl ByteRead for CurrentMetricsResponse
Auto Trait Implementations§
impl Freeze for CurrentMetricsResponse
impl RefUnwindSafe for CurrentMetricsResponse
impl Send for CurrentMetricsResponse
impl Sync for CurrentMetricsResponse
impl Unpin for CurrentMetricsResponse
impl UnwindSafe for CurrentMetricsResponse
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