#[non_exhaustive]pub enum ReceiverFactFreshness {
Fresh,
Unknown,
}Expand description
Freshness of the evidence used for a 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.
Fresh
The receiver fact came from the current AST or supplied type environment.
Unknown
No fresh source-backed fact was available.
Trait Implementations§
Source§impl Clone for ReceiverFactFreshness
impl Clone for ReceiverFactFreshness
Source§fn clone(&self) -> ReceiverFactFreshness
fn clone(&self) -> ReceiverFactFreshness
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 ReceiverFactFreshness
Source§impl Debug for ReceiverFactFreshness
impl Debug for ReceiverFactFreshness
impl Eq for ReceiverFactFreshness
Source§impl PartialEq for ReceiverFactFreshness
impl PartialEq for ReceiverFactFreshness
Source§fn eq(&self, other: &ReceiverFactFreshness) -> bool
fn eq(&self, other: &ReceiverFactFreshness) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ReceiverFactFreshness
Auto Trait Implementations§
impl Freeze for ReceiverFactFreshness
impl RefUnwindSafe for ReceiverFactFreshness
impl Send for ReceiverFactFreshness
impl Sync for ReceiverFactFreshness
impl Unpin for ReceiverFactFreshness
impl UnsafeUnpin for ReceiverFactFreshness
impl UnwindSafe for ReceiverFactFreshness
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