Struct Pools

Source
pub struct Pools {
Show 43 fields pub cache_target_full_ratio_micro: i32, pub fast_read: Option<bool>, pub stripe_width: i32, pub flags_names: String, pub tier_of: i32, pub hit_set_grade_decay_rate: Option<i32>, pub pg_placement_num: i32, pub use_gmt_hitset: Option<bool>, pub quota_max_bytes: i32, pub erasure_code_profile: String, pub expected_num_objects: Option<i32>, pub size: i32, pub snap_seq: i32, pub auid: i32, pub cache_min_flush_age: i32, pub hit_set_period: i32, pub min_read_recency_for_promote: i32, pub target_max_objects: i32, pub pg_num: i32, pub crush_ruleset: Option<i32>, pub crush_rule: Option<i32>, pub pool_name: String, pub cache_min_evict_age: i32, pub snap_mode: String, pub cache_mode: String, pub min_size: i32, pub cache_target_dirty_high_ratio_micro: Option<i32>, pub crash_replay_interval: Option<i32>, pub object_hash: i32, pub write_tier: i32, pub cache_target_dirty_ratio_micro: i32, pub pool: i32, pub removed_snaps: String, pub last_force_op_resend: String, pub quota_max_objects: i32, pub hit_set_count: i32, pub flags: i32, pub target_max_bytes: i32, pub snap_epoch: i32, pub hit_set_search_last_n: Option<i32>, pub last_change: String, pub min_write_recency_for_promote: Option<i32>, pub read_tier: i32,
}

Fields§

§cache_target_full_ratio_micro: i32§fast_read: Option<bool>§stripe_width: i32§flags_names: String§tier_of: i32§hit_set_grade_decay_rate: Option<i32>§pg_placement_num: i32§use_gmt_hitset: Option<bool>§quota_max_bytes: i32§erasure_code_profile: String§expected_num_objects: Option<i32>§size: i32§snap_seq: i32§auid: i32§cache_min_flush_age: i32§hit_set_period: i32§min_read_recency_for_promote: i32§target_max_objects: i32§pg_num: i32§crush_ruleset: Option<i32>§crush_rule: Option<i32>§pool_name: String§cache_min_evict_age: i32§snap_mode: String§cache_mode: String§min_size: i32§cache_target_dirty_high_ratio_micro: Option<i32>§crash_replay_interval: Option<i32>§object_hash: i32§write_tier: i32§cache_target_dirty_ratio_micro: i32§pool: i32§removed_snaps: String§last_force_op_resend: String§quota_max_objects: i32§hit_set_count: i32§flags: i32§target_max_bytes: i32§snap_epoch: i32§hit_set_search_last_n: Option<i32>§last_change: String§min_write_recency_for_promote: Option<i32>§read_tier: i32

Trait Implementations§

Source§

impl Clone for Pools

Source§

fn clone(&self) -> Pools

Returns a duplicate of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for Pools

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl<'de> Deserialize<'de> for Pools

Source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
where __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
Source§

impl PartialEq for Pools

Source§

fn eq(&self, other: &Pools) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl StructuralPartialEq for Pools

Auto Trait Implementations§

§

impl Freeze for Pools

§

impl RefUnwindSafe for Pools

§

impl Send for Pools

§

impl Sync for Pools

§

impl Unpin for Pools

§

impl UnwindSafe for Pools

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T> FromCeph<T> for T

Source§

fn from_ceph(cmd: &str) -> Result<T, CSDError>

Source§

impl<T> FromFile<T> for T

Source§

fn from_file(path: &str) -> Result<T, CSDError>

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
Source§

impl<T> DeserializeOwned for T
where T: for<'de> Deserialize<'de>,