Skip to main content

VolatileLink

Trait VolatileLink 

Source
pub trait VolatileLink<P>: Link<P, Meta = Infallible, Entry = Infallible> { }
Expand description

A link that keeps nothing durable the layer above has to know about.

Every layer in this crate composes over one, because none of them declares a storage vocabulary on their child’s behalf. It is a conjunction of bounds rather than a capability — hence the blanket impl, which is the opposite of what Link does deliberately — and it exists so that the conjunction is written once instead of at every composing layer.

A logged link keeps a great deal durable and does not satisfy this. Composing a broadcast over one is not possible today for that reason, and the bound is where the limitation lives, so it is the one place to revisit when it is wanted.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§

Source§

impl<P, L> VolatileLink<P> for L
where L: Link<P, Meta = Infallible, Entry = Infallible>,