pub struct ScriptStats {
pub total_scripts: usize,
pub loaded_scripts: usize,
pub cached_scripts: usize,
pub version: u32,
pub total_executions: u64,
}Expand description
Script manager statistics
Fields§
§total_scripts: usizeTotal number of available scripts
loaded_scripts: usizeNumber of scripts loaded in Redis
cached_scripts: usizeNumber of scripts cached in memory
version: u32Script version
total_executions: u64Total number of script executions
Implementations§
Source§impl ScriptStats
impl ScriptStats
Sourcepub fn all_loaded(&self) -> bool
pub fn all_loaded(&self) -> bool
Check if all scripts are loaded
Trait Implementations§
Source§impl Clone for ScriptStats
impl Clone for ScriptStats
Source§fn clone(&self) -> ScriptStats
fn clone(&self) -> ScriptStats
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for ScriptStats
impl RefUnwindSafe for ScriptStats
impl Send for ScriptStats
impl Sync for ScriptStats
impl Unpin for ScriptStats
impl UnsafeUnpin for ScriptStats
impl UnwindSafe for ScriptStats
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