pub enum TryPushResult {
QueueError,
QueueFull,
Success,
}Variants§
QueueError
An invalid index was written to shared memory (unrecoverable error).
QueueFull
Queue was full; message was not added.
Success
Message was successfully added.
Trait Implementations§
impl Eq for TryPushResult
Source§impl PartialEq for TryPushResult
impl PartialEq for TryPushResult
Source§fn eq(&self, other: &TryPushResult) -> bool
fn eq(&self, other: &TryPushResult) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for TryPushResult
Auto Trait Implementations§
impl Freeze for TryPushResult
impl RefUnwindSafe for TryPushResult
impl Send for TryPushResult
impl Sync for TryPushResult
impl Unpin for TryPushResult
impl UnsafeUnpin for TryPushResult
impl UnwindSafe for TryPushResult
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