pub struct RuntimeContext<S: GraphStore> { /* private fields */ }Expand description
AINL runtime context for execution
Implementations§
Source§impl<S: GraphStore> RuntimeContext<S>
impl<S: GraphStore> RuntimeContext<S>
Sourcepub fn new(config: RuntimeConfig, memory: Option<S>) -> Self
pub fn new(config: RuntimeConfig, memory: Option<S>) -> Self
Create a new runtime context with the given memory backend
Auto Trait Implementations§
impl<S> Freeze for RuntimeContext<S>where
S: Freeze,
impl<S> RefUnwindSafe for RuntimeContext<S>where
S: RefUnwindSafe,
impl<S> Send for RuntimeContext<S>where
S: Send,
impl<S> Sync for RuntimeContext<S>where
S: Sync,
impl<S> Unpin for RuntimeContext<S>where
S: Unpin,
impl<S> UnsafeUnpin for RuntimeContext<S>where
S: UnsafeUnpin,
impl<S> UnwindSafe for RuntimeContext<S>where
S: UnwindSafe,
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