#[non_exhaustive]pub enum ReceiverFallbackState {
Exact,
Fallback,
Blocked,
}Expand description
Fallback posture completion must preserve for this receiver fact.
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.
Exact
The receiver fact is exact enough to drive receiver-scoped completion.
Fallback
The receiver fact is not exact; completion must preserve legacy fallback.
Blocked
The receiver fact cannot participate in completion.
Trait Implementations§
Source§impl Clone for ReceiverFallbackState
impl Clone for ReceiverFallbackState
Source§fn clone(&self) -> ReceiverFallbackState
fn clone(&self) -> ReceiverFallbackState
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 ReceiverFallbackState
Source§impl Debug for ReceiverFallbackState
impl Debug for ReceiverFallbackState
impl Eq for ReceiverFallbackState
Source§impl PartialEq for ReceiverFallbackState
impl PartialEq for ReceiverFallbackState
Source§fn eq(&self, other: &ReceiverFallbackState) -> bool
fn eq(&self, other: &ReceiverFallbackState) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ReceiverFallbackState
Auto Trait Implementations§
impl Freeze for ReceiverFallbackState
impl RefUnwindSafe for ReceiverFallbackState
impl Send for ReceiverFallbackState
impl Sync for ReceiverFallbackState
impl Unpin for ReceiverFallbackState
impl UnsafeUnpin for ReceiverFallbackState
impl UnwindSafe for ReceiverFallbackState
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