Skip to main content

Capability

Trait Capability 

Source
pub trait Capability: Any {
    // Required method
    fn nominal(&self) -> &Nominal;
}
Expand description

An issuer’s backend for one capability. Its Drop is the physical close request. Issuers recover their own type from a Loan with Loan::with_backend.

Required Methods§

Source

fn nominal(&self) -> &Nominal

The resource type this capability was issued for.

Dyn Compatibility§

This trait is dyn compatible.

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

Implementors§