pub struct ProjectionRegistry { /* private fields */ }Implementations§
Source§impl ProjectionRegistry
impl ProjectionRegistry
pub fn new() -> Self
pub fn register_memory( &self, value: Arc<dyn ProjectedHostValue>, ) -> ProjectionRef
Trait Implementations§
Source§impl Clone for ProjectionRegistry
impl Clone for ProjectionRegistry
Source§fn clone(&self) -> ProjectionRegistry
fn clone(&self) -> ProjectionRegistry
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 Default for ProjectionRegistry
impl Default for ProjectionRegistry
Source§fn default() -> ProjectionRegistry
fn default() -> ProjectionRegistry
Returns the “default value” for a type. Read more
Source§impl ProjectionResolver for ProjectionRegistry
impl ProjectionResolver for ProjectionRegistry
fn resolve_projection<'life0, 'life1, 'async_trait>(
&'life0 self,
reference: &'life1 ProjectionRef,
) -> Pin<Box<dyn Future<Output = Result<Arc<dyn ProjectedHostValue>, ProjectionResolveError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
Auto Trait Implementations§
impl Freeze for ProjectionRegistry
impl RefUnwindSafe for ProjectionRegistry
impl Send for ProjectionRegistry
impl Sync for ProjectionRegistry
impl Unpin for ProjectionRegistry
impl UnsafeUnpin for ProjectionRegistry
impl UnwindSafe for ProjectionRegistry
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