pub enum SealError<V>where
V: Identities,{
UnknownLineage(<V as Identities>::Lineage),
GateCycle {
cycle: Vec<Epoch<V>>,
},
}Expand description
Why make_durable_through was refused. Nothing was sealed.
Variants§
UnknownLineage(<V as Identities>::Lineage)
The lineage is not one the instance can answer for: the handle is another instance’s (DI-D-40).
GateCycle
The seal would close a gate cycle (DI-D-43): the writes it must wait for include a held write whose gate’s lineage reaching it needs, transitively, the seal to finish. Seal lower first, so the gates can be released.
Trait Implementations§
Source§impl<V> Display for SealError<V>where
V: Identities,
impl<V> Display for SealError<V>where
V: Identities,
impl<V> Eq for SealError<V>
Source§impl<V> Error for SealError<V>where
V: Identities,
impl<V> Error for SealError<V>where
V: Identities,
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
impl<V> StructuralPartialEq for SealError<V>
Auto Trait Implementations§
impl<V> Freeze for SealError<V>
impl<V> RefUnwindSafe for SealError<V>
impl<V> Send for SealError<V>
impl<V> Sync for SealError<V>
impl<V> Unpin for SealError<V>
impl<V> UnsafeUnpin for SealError<V>
impl<V> UnwindSafe for SealError<V>
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more