pub struct BTreeFactStore { /* private fields */ }Implementations§
Source§impl BTreeFactStore
impl BTreeFactStore
Sourcepub fn get(&self, id: &ContentId) -> Option<&Claim>
pub fn get(&self, id: &ContentId) -> Option<&Claim>
Returns the stored claim with content id id, if present.
Sourcepub fn remove(&mut self, id: &ContentId) -> Option<Claim>
pub fn remove(&mut self, id: &ContentId) -> Option<Claim>
Removes the claim with content id id, updating every query index.
Sourcepub fn insert_boot_claims(&mut self, data: &mut BTreeDatumStore)
pub fn insert_boot_claims(&mut self, data: &mut BTreeDatumStore)
Seeds the fixed core boot claims (the kernel class kind facts) into
this store and their datums into data.
Trait Implementations§
Source§impl Clone for BTreeFactStore
impl Clone for BTreeFactStore
Source§fn clone(&self) -> BTreeFactStore
fn clone(&self) -> BTreeFactStore
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 BTreeFactStore
impl Debug for BTreeFactStore
Source§impl Default for BTreeFactStore
impl Default for BTreeFactStore
Source§fn default() -> BTreeFactStore
fn default() -> BTreeFactStore
Returns the “default value” for a type. Read more
Source§impl FactStore for BTreeFactStore
impl FactStore for BTreeFactStore
Inserts
claim after checking the caller’s capabilities, returning its
content Ref; private claims require the fact-private capability.Returns the claims matching
pattern that are visible under cx’s
capabilities.Auto Trait Implementations§
impl Freeze for BTreeFactStore
impl RefUnwindSafe for BTreeFactStore
impl Send for BTreeFactStore
impl Sync for BTreeFactStore
impl Unpin for BTreeFactStore
impl UnsafeUnpin for BTreeFactStore
impl UnwindSafe for BTreeFactStore
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