Struct esp_idf_sys::nvs_stats_t
source · #[repr(C)]pub struct nvs_stats_t {
pub used_entries: usize,
pub free_entries: usize,
pub available_entries: usize,
pub total_entries: usize,
pub namespace_count: usize,
}
Expand description
@note Info about storage space NVS.
Fields§
§used_entries: usize
< Number of used entries.
free_entries: usize
< Number of free entries. It includes also reserved entries.
available_entries: usize
< Number of entries available for data storage.
total_entries: usize
< Number of all entries.
namespace_count: usize
< Number of namespaces.
Trait Implementations§
source§impl Clone for nvs_stats_t
impl Clone for nvs_stats_t
source§fn clone(&self) -> nvs_stats_t
fn clone(&self) -> nvs_stats_t
Returns a copy of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for nvs_stats_t
impl Debug for nvs_stats_t
source§impl Default for nvs_stats_t
impl Default for nvs_stats_t
source§fn default() -> nvs_stats_t
fn default() -> nvs_stats_t
Returns the “default value” for a type. Read more
impl Copy for nvs_stats_t
Auto Trait Implementations§
impl Freeze for nvs_stats_t
impl RefUnwindSafe for nvs_stats_t
impl Send for nvs_stats_t
impl Sync for nvs_stats_t
impl Unpin for nvs_stats_t
impl UnwindSafe for nvs_stats_t
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)