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§
Required Methods§
Sourcefn resolve(
&self,
workspace_id: WorkspaceId,
) -> impl Future<Output = Result<Workspace<A, O>, Self::Error>> + StorageFuture
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".