pub struct CoreV4 {
pub account: Single<Account>,
pub last_synced: Single<i64>,
pub root: Single<Uuid>,
pub local_metadata: LookupTable<Uuid, SignedMeta, UuidIdentityHasherBuilder>,
pub base_metadata: LookupTable<Uuid, SignedMeta, UuidIdentityHasherBuilder>,
pub pub_key_lookup: LookupTable<Owner, String>,
pub doc_events: List<DocEvent>,
pub id: Single<LbID>,
pub pinned_files: List<Uuid>,
pub last_extracted_panic: Single<i64>,
}Fields§
§account: Single<Account>§last_synced: Single<i64>§root: Single<Uuid>§local_metadata: LookupTable<Uuid, SignedMeta, UuidIdentityHasherBuilder>§base_metadata: LookupTable<Uuid, SignedMeta, UuidIdentityHasherBuilder>§pub_key_lookup: LookupTable<Owner, String>map from pub key to username
doc_events: List<DocEvent>§id: Single<LbID>§pinned_files: List<Uuid>§last_extracted_panic: Single<i64>Sentinel for send_debug_info throttling: the millisecond timestamp of the
most recent panic file we’ve already uploaded. None means we have never
sent debug info; Some(0) means we’ve sent before but no panic file existed.
Trait Implementations§
Source§impl Db for CoreV4
impl Db for CoreV4
fn init(config: Config) -> DbResult<Self>
fn compact_log(&mut self) -> DbResult<()>
fn get_logger(&self) -> &Logger
fn config(&self) -> Result<Config, DbError>
fn incomplete_write(&self) -> Result<bool, DbError>
fn begin_transaction(&mut self) -> Result<TxHandle, DbError>
Auto Trait Implementations§
impl Freeze for CoreV4
impl RefUnwindSafe for CoreV4
impl Send for CoreV4
impl Sync for CoreV4
impl Unpin for CoreV4
impl UnsafeUnpin for CoreV4
impl UnwindSafe for CoreV4
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> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
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 more