pub struct GenericAdapter { /* private fields */ }Implementations§
Source§impl GenericAdapter
impl GenericAdapter
pub fn new(config: GenericConfig) -> Result<Self>
Trait Implementations§
Source§impl Adapter for GenericAdapter
impl Adapter for GenericAdapter
fn read<'life0, 'life1, 'life2, 'life3, 'async_trait>(
&'life0 self,
schema: &'life1 Schema,
types: &'life2 [TypeName],
state_store: &'life3 StateStore,
) -> Pin<Box<dyn Future<Output = Result<ObservedState>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
'life3: 'async_trait,
fn write<'life0, 'life1, 'life2, 'life3, 'async_trait>(
&'life0 self,
schema: &'life1 Schema,
ops: &'life2 [Op],
state: &'life3 StateStore,
) -> Pin<Box<dyn Future<Output = Result<ApplyReport>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
'life3: 'async_trait,
fn ensure_schema<'life0, 'life1, 'async_trait>(
&'life0 self,
_schema: &'life1 Schema,
) -> Pin<Box<dyn Future<Output = Result<ProvisionReport, Error>> + Send + 'async_trait>>where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait,
Auto Trait Implementations§
impl Freeze for GenericAdapter
impl !RefUnwindSafe for GenericAdapter
impl Send for GenericAdapter
impl Sync for GenericAdapter
impl Unpin for GenericAdapter
impl UnsafeUnpin for GenericAdapter
impl !UnwindSafe for GenericAdapter
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