pub trait OwnerOf<A: Area>: Sized + Send {
// Required method
fn of(context: &RequestContext<A>) -> Result<Self>;
}Required Methods§
Sourcefn of(context: &RequestContext<A>) -> Result<Self>
fn of(context: &RequestContext<A>) -> Result<Self>
NotFound when the area’s guard let nobody in to own the record.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".