pub struct RecordManager<A: Application> { /* private fields */ }Implementations§
Source§impl<A: Application> RecordManager<A>
impl<A: Application> RecordManager<A>
pub fn new(state: StateManager<A>) -> Self
pub async fn register( &self, owner: &str, schema: &SchemaKey, graph: &Schema, ) -> Result<Arc<Definition>>
pub fn definition(&self, schema: &SchemaKey) -> Option<Arc<Definition>>
pub fn definitions(&self) -> Vec<Arc<Definition>>
pub async fn publish<R: Into<A::Record>>(&self, record: R) -> Result<Receipt>
pub async fn publish_system(&self, fact: SystemFact) -> Result<Receipt>
pub fn as_principal(&self, principal: PrincipalId) -> Self
pub fn caused_by(&self, cause: Position) -> Self
Trait Implementations§
Source§impl<A: Application> Clone for RecordManager<A>
impl<A: Application> Clone for RecordManager<A>
Auto Trait Implementations§
impl<A> !RefUnwindSafe for RecordManager<A>
impl<A> !UnwindSafe for RecordManager<A>
impl<A> Freeze for RecordManager<A>
impl<A> Send for RecordManager<A>
impl<A> Sync for RecordManager<A>
impl<A> Unpin for RecordManager<A>
impl<A> UnsafeUnpin for RecordManager<A>
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