pub trait Entitled:
Send
+ Sync
+ 'static {
// Required method
fn held<'a>(
&'a self,
read: &'a Read,
area: &'static str,
principal: Uuid,
) -> BoxFuture<'a, Result<Arc<[&'static str]>>>;
}Expand description
What a principal’s plan holds, read once per request that needs it.
Required Methods§
fn held<'a>( &'a self, read: &'a Read, area: &'static str, principal: Uuid, ) -> BoxFuture<'a, Result<Arc<[&'static str]>>>
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".