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> Downcast for Twhere
T: Any,
impl<T> Downcast for Twhere
T: Any,
Source§fn into_any(self: Box<T>) -> Box<dyn Any>
fn into_any(self: Box<T>) -> Box<dyn Any>
Converts
Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>, which can then be
downcast into Box<dyn ConcreteType> where ConcreteType implements Trait.Source§fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
Converts
Rc<Trait> (where Trait: Downcast) to Rc<Any>, which can then be further
downcast into Rc<ConcreteType> where ConcreteType implements Trait.Source§fn as_any(&self) -> &(dyn Any + 'static)
fn as_any(&self) -> &(dyn Any + 'static)
Converts
&Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &Any’s vtable from &Trait’s.Source§fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
Converts
&mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &mut Any’s vtable from &mut Trait’s.Source§impl<T> DowncastSend for T
impl<T> DowncastSend for T
Source§impl<T> DowncastSync for T
impl<T> DowncastSync for T
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