pub trait WithRights {
// Required method
fn with_rights(
self,
moniker: impl Into<ExtendedMoniker>,
rights: Rights,
) -> Self;
}
Required Methods§
Sourcefn with_rights(
self,
moniker: impl Into<ExtendedMoniker>,
rights: Rights,
) -> Self
fn with_rights( self, moniker: impl Into<ExtendedMoniker>, rights: Rights, ) -> Self
Returns a router that ensures the capability request does not request greater rights than provided at this stage of the route.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.