#[non_exhaustive]pub enum ProviderDisposition {
Selected,
Rejected,
}Expand description
Whether dispatch selected or rejected the requested provider.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Selected
The provider was selected.
Rejected
The provider was rejected without trying another implementation.
Trait Implementations§
Source§impl Clone for ProviderDisposition
impl Clone for ProviderDisposition
Source§fn clone(&self) -> ProviderDisposition
fn clone(&self) -> ProviderDisposition
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for ProviderDisposition
Source§impl Debug for ProviderDisposition
impl Debug for ProviderDisposition
impl Eq for ProviderDisposition
Source§impl PartialEq for ProviderDisposition
impl PartialEq for ProviderDisposition
impl StructuralPartialEq for ProviderDisposition
Auto Trait Implementations§
impl Freeze for ProviderDisposition
impl RefUnwindSafe for ProviderDisposition
impl Send for ProviderDisposition
impl Sync for ProviderDisposition
impl Unpin for ProviderDisposition
impl UnsafeUnpin for ProviderDisposition
impl UnwindSafe for ProviderDisposition
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more