pub struct InMemoryDataProvider { /* private fields */ }Implementations§
Source§impl InMemoryDataProvider
impl InMemoryDataProvider
pub fn new(owner_controller: ControllerId) -> InMemoryDataProvider
pub fn with_envelope( owner_controller: ControllerId, envelope: ExternalDataPlanEnvelope, ) -> Result<InMemoryDataProvider, DagMlError>
pub fn register_envelope( &mut self, envelope: ExternalDataPlanEnvelope, ) -> Result<(), DagMlError>
pub fn handle_record(&self, handle: u64) -> Option<DataHandleRecord>
pub fn handle_records(&self) -> Vec<DataHandleRecord>
pub fn view_record(&self, handle: u64) -> Option<DataViewHandleRecord>
pub fn view_records(&self) -> Vec<DataViewHandleRecord>
Trait Implementations§
Source§impl Debug for InMemoryDataProvider
impl Debug for InMemoryDataProvider
Source§impl RuntimeDataProvider for InMemoryDataProvider
impl RuntimeDataProvider for InMemoryDataProvider
fn materialize( &self, request: &DataMaterializationRequest, ) -> Result<HandleRef, DagMlError>
fn make_view(&self, request: &DataViewRequest) -> Result<HandleRef, DagMlError>
fn coordinator_relations( &self, binding: &DataBinding, ) -> Result<Option<SampleRelationSet>, DagMlError>
Auto Trait Implementations§
impl !Freeze for InMemoryDataProvider
impl !RefUnwindSafe for InMemoryDataProvider
impl !Sync for InMemoryDataProvider
impl Send for InMemoryDataProvider
impl Unpin for InMemoryDataProvider
impl UnsafeUnpin for InMemoryDataProvider
impl UnwindSafe for InMemoryDataProvider
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