Enum miri::ProvenanceMode
source · pub enum ProvenanceMode {
Default,
Permissive,
Strict,
}
Variants
Default
We support expose_addr
/from_exposed_addr
via “wildcard” provenance.
However, we want on from_exposed_addr
to alert the user of the precision loss.
Permissive
Like Default
, but without the warning.
Strict
We error on from_exposed_addr
, ensuring no precision loss.
Trait Implementations
sourceimpl Clone for ProvenanceMode
impl Clone for ProvenanceMode
sourcefn clone(&self) -> ProvenanceMode
fn clone(&self) -> ProvenanceMode
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for ProvenanceMode
impl Debug for ProvenanceMode
sourceimpl PartialEq<ProvenanceMode> for ProvenanceMode
impl PartialEq<ProvenanceMode> for ProvenanceMode
sourcefn eq(&self, other: &ProvenanceMode) -> bool
fn eq(&self, other: &ProvenanceMode) -> bool
impl Copy for ProvenanceMode
impl Eq for ProvenanceMode
impl StructuralEq for ProvenanceMode
impl StructuralPartialEq for ProvenanceMode
Auto Trait Implementations
impl RefUnwindSafe for ProvenanceMode
impl Send for ProvenanceMode
impl Sync for ProvenanceMode
impl Unpin for ProvenanceMode
impl UnwindSafe for ProvenanceMode
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
impl<V, T> VZip<V> for Twhere
V: MultiLane<T>,
impl<V, T> VZip<V> for Twhere
V: MultiLane<T>,
fn vzip(self) -> V
Layout
Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...)
attributes. Please see the Rust Reference’s “Type Layout” chapter for details on type layout guarantees.
Size: 1 byte
Size for each variant:
Default
: 0 bytesPermissive
: 0 bytesStrict
: 0 bytes