pub struct ExportReport {
pub file: Option<String>,
pub from: u64,
pub through: u64,
pub events: u64,
}Expand description
What one Store::export wrote.
file is absent when there was nothing new: no file is created, from and through
are both the chain’s end, and events is 0. An export of nothing is not a file holding
nothing.
Fields§
§file: Option<String>§from: u64The position the export started after — the end of the confirmed chain.
through: u64The position of the last event written, or from when none was.
events: u64Implementations§
Source§impl ExportReport
impl ExportReport
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 ExportReport
impl Clone for ExportReport
Source§fn clone(&self) -> ExportReport
fn clone(&self) -> ExportReport
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 ExportReport
impl Debug for ExportReport
Source§impl FromLua for ExportReport
impl FromLua for ExportReport
Source§impl IntoLua for ExportReport
impl IntoLua for ExportReport
Source§impl TealRecord for ExportReport
impl TealRecord for ExportReport
Auto Trait Implementations§
impl Freeze for ExportReport
impl RefUnwindSafe for ExportReport
impl Send for ExportReport
impl Sync for ExportReport
impl Unpin for ExportReport
impl UnsafeUnpin for ExportReport
impl UnwindSafe for ExportReport
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.