Timeless

Type Alias Timeless 

Source
pub type Timeless = ();
Expand description

Used as the Transience of a type to declare that it is 'static and not dependent on any lifetime parameters.

Such types only contain owned data and static references, and are thus much safer to work with and allow several restrictions imposed by the crate to be loosened. The transient::Any trait is parameterized with this transience by default so that it can mimic the simplicity of the std::any::Any trait in the simple case of 'static types.

Trait Implementations§

Source§

impl Transience for Timeless

Source§

type Inverse = ()

The inverse of this transience. Co <=> Contra, and Inv <=> Inv.
Source§

type Invariant = ()

The invariant version of this transience. Co, Contra => Inv.
Source§

impl<R: Transience> CanRecoverFrom<R> for Timeless

Source§

impl<R: Transience> CanTranscendTo<R> for Timeless