Struct PersistedSeed

pub struct PersistedSeed(/* private field */);

Opaque struct representing a seed which can be persisted.

The Display and FromStr implementations go to and from the format Proptest uses for its persistence file.

Trait Implementations

impl Clone for PersistedSeed

fn clone(&self) -> PersistedSeed

impl Debug for PersistedSeed

fn fmt(&self, f: &mut Formatter<'_>) -> Result

impl Display for PersistedSeed

fn fmt(&self, f: &mut Formatter<'_>) -> Result

impl Eq for PersistedSeed

impl FromStr for PersistedSeed

type Err = ();
fn from_str(s: &str) -> Result<Self, ()>

impl Ord for PersistedSeed

fn cmp(&self, other: &PersistedSeed) -> Ordering

impl PartialEq for PersistedSeed

fn eq(&self, other: &PersistedSeed) -> bool

impl PartialOrd for PersistedSeed

fn partial_cmp(&self, other: &PersistedSeed) -> Option<Ordering>

impl StructuralPartialEq for PersistedSeed

Auto Trait Implementations

impl Freeze for PersistedSeed

impl RefUnwindSafe for PersistedSeed

impl Send for PersistedSeed

impl Sync for PersistedSeed

impl Unpin for PersistedSeed

impl UnsafeUnpin for PersistedSeed

impl UnwindSafe for PersistedSeed

Blanket Implementations

impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for PersistedSeed where ST: ?Sized, DT: ?Sized,

impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for PersistedSeed where ST: ?Sized, DT: ?Sized,

impl<T> Any for PersistedSeed where T: 'static + ?Sized,

fn type_id(&self) -> TypeId

impl<T> Borrow<T> for PersistedSeed where T: ?Sized,

fn borrow(&self) -> &T

impl<T> BorrowMut<T> for PersistedSeed where T: ?Sized,

fn borrow_mut(&mut self) -> &mut T

impl<T> CloneToUninit for PersistedSeed where T: Clone,

unsafe fn clone_to_uninit(&self, dest: *mut u8)

impl<T> From<T> for PersistedSeed

fn from(t: T) -> T

Returns the argument unchanged.

impl<T> Read<Exclusive, BecauseExclusive> for PersistedSeed where T: ?Sized,

impl<T> ToOwned for PersistedSeed where T: Clone,

type Owned = T;
fn to_owned(&self) -> T
fn clone_into(&self, target: &mut T)

impl<T> ToString for PersistedSeed where T: Display + ?Sized,

fn to_string(&self) -> String

impl<T, U> Into<U> for PersistedSeed where U: From<T>,

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of [From]<T> for U chooses to do.

impl<T, U> TryFrom<U> for PersistedSeed where U: Into<T>,

type Error = never;
fn try_from(value: U) -> Result<T, never>

impl<T, U> TryInto<U> for PersistedSeed where U: TryFrom<T>,

type Error = <U as TryFrom<T>>::Error;
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

impl<V, T> VZip<V> for PersistedSeed where V: MultiLane<T>,

fn vzip(self) -> V