pub struct GetMemoryState;Expand description
Read accepted and observed memory quantities.
Trait Implementations§
Source§impl CheckedControlRequest for GetMemoryState
impl CheckedControlRequest for GetMemoryState
Source§fn json_request(&self) -> ControlClientResult<ControlRequest>
fn json_request(&self) -> ControlClientResult<ControlRequest>
Prepare the actual legacy operation, before any connection or write.
Source§fn decode_json(&self, reply: JsonReply) -> ControlClientResult<Self::Response>
fn decode_json(&self, reply: JsonReply) -> ControlClientResult<Self::Response>
Normalize a real JSON response, preserving its original bytes on failure.
Source§impl Clone for GetMemoryState
impl Clone for GetMemoryState
Source§fn clone(&self) -> GetMemoryState
fn clone(&self) -> GetMemoryState
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for GetMemoryState
Source§impl Debug for GetMemoryState
impl Debug for GetMemoryState
Source§impl Default for GetMemoryState
impl Default for GetMemoryState
Source§fn default() -> GetMemoryState
fn default() -> GetMemoryState
Returns the “default value” for a type. Read more
Source§impl Request<ControlProtocol> for GetMemoryState
impl Request<ControlProtocol> for GetMemoryState
Source§type Response = MemoryState
type Response = MemoryState
Checked operation result, independent of SDK domain behavior.
Source§type Error = ControlClientError
type Error = ControlClientError
Application error that can also retain a local transport failure.
Source§fn message(&self) -> ControlClientResult<EncodedMessage>
fn message(&self) -> ControlClientResult<EncodedMessage>
Encode the prepared request without performing I/O.
Auto Trait Implementations§
impl Freeze for GetMemoryState
impl RefUnwindSafe for GetMemoryState
impl Send for GetMemoryState
impl Sync for GetMemoryState
impl Unpin for GetMemoryState
impl UnsafeUnpin for GetMemoryState
impl UnwindSafe for GetMemoryState
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