Skip to main content

WorkspaceResolver

Trait WorkspaceResolver 

Source
pub trait WorkspaceResolver<A, O>: Send + Sync {
    type Error: Error + Send + Sync + 'static;

    // Required method
    fn resolve(
        &self,
        workspace_id: WorkspaceId,
    ) -> impl Future<Output = Result<Workspace<A, O>, Self::Error>> + StorageFuture;
}
Expand description

Resolves one authenticated workspace identity for core publication.

Required Associated Types§

Source

type Error: Error + Send + Sync + 'static

Resolver failure.

Required Methods§

Source

fn resolve( &self, workspace_id: WorkspaceId, ) -> impl Future<Output = Result<Workspace<A, O>, Self::Error>> + StorageFuture

Opens the exact workspace or fails closed.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§