pub struct RetainReport {
pub removed: u64,
pub streams: u64,
}Expand description
What one Store::retain_streams removed.
Fields§
§removed: u64Events deleted, as eventsdb’s retention ledger recorded them.
streams: u64How many distinct streams those events were spread over — the streams that actually held something, which is at most the number asked for.
Implementations§
Source§impl RetainReport
impl RetainReport
Sourcepub fn htl_preload(h: &Htl) -> Result<()>
pub fn htl_preload(h: &Htl) -> Result<()>
Make require("NAME") resolve at runtime (type-only module -> empty table).
Trait Implementations§
Source§impl Clone for RetainReport
impl Clone for RetainReport
Source§fn clone(&self) -> RetainReport
fn clone(&self) -> RetainReport
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 Debug for RetainReport
impl Debug for RetainReport
Source§impl FromLua for RetainReport
impl FromLua for RetainReport
Source§impl IntoLua for RetainReport
impl IntoLua for RetainReport
Source§impl TealRecord for RetainReport
impl TealRecord for RetainReport
Auto Trait Implementations§
impl Freeze for RetainReport
impl RefUnwindSafe for RetainReport
impl Send for RetainReport
impl Sync for RetainReport
impl Unpin for RetainReport
impl UnsafeUnpin for RetainReport
impl UnwindSafe for RetainReport
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> FromLuaMulti for Twhere
T: FromLua,
impl<T> FromLuaMulti for Twhere
T: FromLua,
Source§fn from_lua_multi(values: MultiValue, lua: &Lua) -> Result<T, Error>
fn from_lua_multi(values: MultiValue, lua: &Lua) -> Result<T, Error>
Performs the conversion. Read more
fn from_lua_args( args: MultiValue, i: usize, to: Option<&str>, lua: &Lua, ) -> Result<T, Error>
unsafe fn from_stack_multi(nvals: i32, lua: &RawLua) -> Result<T, Error>
unsafe fn from_stack_args( nargs: i32, i: usize, to: Option<&str>, lua: &RawLua, ) -> Result<T, Error>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§impl<T> IntoLuaMulti for Twhere
T: IntoLua,
impl<T> IntoLuaMulti for Twhere
T: IntoLua,
Source§fn into_lua_multi(self, lua: &Lua) -> Result<MultiValue, Error>
fn into_lua_multi(self, lua: &Lua) -> Result<MultiValue, Error>
Performs the conversion.