pub trait Viewer: Send + Sync {
// Required method
fn current_user(&self) -> BoxFuture<'_, IssueResult<User>>;
}Required Methods§
fn current_user(&self) -> BoxFuture<'_, IssueResult<User>>
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".