Struct ResultCacheKey

pub struct ResultCacheKey<'a> { /* private fields */ }

A key used for the result cache.

The capabilities of this structure are currently quite limited; all one can do with safe code is get the &dyn Debug of the test input value. This may improve in the future, particularly at such a time that specialisation becomes stable.

Implementations

impl<'a> ResultCacheKey<'a>

fn value_debug(&self) -> &dyn Debug

Return the test input value as an &dyn Debug.

Trait Implementations

impl<'a> Debug for ResultCacheKey<'a>

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

Auto Trait Implementations

impl<'a> !RefUnwindSafe for ResultCacheKey<'a>

impl<'a> !Send for ResultCacheKey<'a>

impl<'a> !Sync for ResultCacheKey<'a>

impl<'a> !UnwindSafe for ResultCacheKey<'a>

impl<'a> Freeze for ResultCacheKey<'a>

impl<'a> Unpin for ResultCacheKey<'a>

impl<'a> UnsafeUnpin for ResultCacheKey<'a>

Blanket Implementations

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

impl<T> Borrow<T> for ResultCacheKey<'a> where T: ?Sized,

impl<T> BorrowMut<T> for ResultCacheKey<'a> where T: ?Sized,

impl<T> From<T> for ResultCacheKey<'a>

impl<T, U> Into<U> for ResultCacheKey<'a> where U: From<T>,

impl<T, U> TryFrom<U> for ResultCacheKey<'a> where U: Into<T>,

impl<T, U> TryInto<U> for ResultCacheKey<'a> where U: TryFrom<T>,