pub trait Importable<'a>:
Sized
+ Into<Capability>
+ TryFrom<Capability, Error = Error> {
type Ref: CapabilityRef<'a>;
}Expand description
A trait for value types that can be imported into a CapabilityStore, such as
String, u64, and fsandbox::DictionaryRef.
Required Associated Types§
Sourcetype Ref: CapabilityRef<'a>
type Ref: CapabilityRef<'a>
The type of CapabilityRef that will be returned on import.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".