#[non_exhaustive]pub enum MeshOsHandleError {
LoopClosed,
QueueFull,
}Expand description
Surface-side errors from MeshOsHandle::publish /
MeshOsHandle::try_publish. The loop is conservative —
callers decide whether to retry, drop, or apply their own
backpressure.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
LoopClosed
The loop has exited; further publishes will be dropped.
QueueFull
The source channel is at event_queue_capacity. The
caller picks: back off + retry, drop the event, or apply
source-side backpressure.
Trait Implementations§
Source§impl Debug for MeshOsHandleError
impl Debug for MeshOsHandleError
Source§impl From<MeshOsHandleError> for DeckError
impl From<MeshOsHandleError> for DeckError
Source§fn from(err: MeshOsHandleError) -> Self
fn from(err: MeshOsHandleError) -> Self
Converts to this type from the input type.
Source§impl PartialEq for MeshOsHandleError
impl PartialEq for MeshOsHandleError
Source§fn eq(&self, other: &MeshOsHandleError) -> bool
fn eq(&self, other: &MeshOsHandleError) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for MeshOsHandleError
impl StructuralPartialEq for MeshOsHandleError
Auto Trait Implementations§
impl Freeze for MeshOsHandleError
impl RefUnwindSafe for MeshOsHandleError
impl Send for MeshOsHandleError
impl Sync for MeshOsHandleError
impl Unpin for MeshOsHandleError
impl UnsafeUnpin for MeshOsHandleError
impl UnwindSafe for MeshOsHandleError
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
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.