pub struct SetCapParams {
pub cap_bytes: u64,
}Expand description
control.cache.setCap params.
Fields§
§cap_bytes: u64The cache size cap in bytes (floored at 64 MiB by the node).
Trait Implementations§
Source§impl Clone for SetCapParams
impl Clone for SetCapParams
Source§fn clone(&self) -> SetCapParams
fn clone(&self) -> SetCapParams
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 moreSource§impl ControlCall for SetCapParams
impl ControlCall for SetCapParams
Source§const METHOD: ControlMethod = ControlMethod::CacheSetCap
const METHOD: ControlMethod = ControlMethod::CacheSetCap
The wire method this call invokes.
Source§type Output = SetCapResult
type Output = SetCapResult
The typed result this call returns on success.
Source§impl Debug for SetCapParams
impl Debug for SetCapParams
Source§impl<'de> Deserialize<'de> for SetCapParams
impl<'de> Deserialize<'de> for SetCapParams
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 SetCapParams
Source§impl PartialEq for SetCapParams
impl PartialEq for SetCapParams
Source§impl Serialize for SetCapParams
impl Serialize for SetCapParams
impl StructuralPartialEq for SetCapParams
Auto Trait Implementations§
impl Freeze for SetCapParams
impl RefUnwindSafe for SetCapParams
impl Send for SetCapParams
impl Sync for SetCapParams
impl Unpin for SetCapParams
impl UnsafeUnpin for SetCapParams
impl UnwindSafe for SetCapParams
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