pub trait WithAvailability {
// Required method
fn with_availability(
self,
moniker: impl Into<ExtendedMoniker>,
availability: Availability,
) -> Self;
}
Required Methods§
Sourcefn with_availability(
self,
moniker: impl Into<ExtendedMoniker>,
availability: Availability,
) -> Self
fn with_availability( self, moniker: impl Into<ExtendedMoniker>, availability: Availability, ) -> Self
Returns a router that ensures the capability request has an availability
strength that is at least the provided availability
.
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.