Enum RingError Copy item path Source pub enum RingError {
Full,
Empty,
LayoutMismatch,
PayloadTooLarge,
NotStamped,
NotDrainer,
StaleBacklog,
IoError(ErrorKind ),
}Ring is full; producer cannot insert.
Ring is empty; consumer cannot drain.
File-backed mapping exists but the magic / capacity does not
match the requested layout.
The operation requires ordering stamps but the ring was not
constructed with with_ordering_stamps().
Merge-mode pop on a multi-consumer ring requires the drainer
lease and another consumer currently holds it. The caller
backs off and retries; when the holder releases (or its
heartbeat goes stale past the grace window) a later pop
acquires the lease automatically.
A shape morph was requested while the previous shape’s
backing still holds an undrained backlog. The consumer
drains it through the normal pop path (the stale walk);
retry the morph once it has caught up - the sidecar’s scan
loop does exactly that.
I/O error opening or mapping the file.
Performs copy-assignment from
source.
Read more Formats the value using the given formatter.
Read more Converts to this type from the input type.
Converts to this type from the input type.
Converts to this type from the input type.
Converts to this type from the input type.
Converts to this type from the input type.
Converts to this type from the input type.
Converts to this type from the input type.
Tests for self and other values to be equal, and is used by ==.
Tests for !=. The default implementation is almost always sufficient,
and should not be overridden without very good reason.
Immutably borrows from an owned value.
Read more Mutably borrows from an owned value.
Read more 🔬 This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from
self to
dest.
Read more Returns the argument unchanged.
Calls U::from(self).
That is, this conversion is whatever the implementation of
From <T> for U chooses to do.
The resulting type after obtaining ownership.
Creates owned data from borrowed data, usually by cloning.
Read more Uses borrowed data to replace owned data, usually by cloning.
Read more The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.