Struct CommandFailure
pub struct CommandFailure<E> {
pub id: u64,
pub error: E,
}Expand description
A consumed command’s caller-supplied ID and original, owned domain error.
No Clone, Debug, or std::error::Error bound is required to use the queue.
Fields§
§id: u64The ID passed to FallibleCommandBuffer::push.
error: EThe command’s error; mutations made before returning it remain in the world.
Trait Implementations§
§impl<E> Debug for CommandFailure<E>where
E: Debug,
impl<E> Debug for CommandFailure<E>where
E: Debug,
§impl<E> PartialEq for CommandFailure<E>where
E: PartialEq,
impl<E> PartialEq for CommandFailure<E>where
E: PartialEq,
impl<E> Eq for CommandFailure<E>where
E: Eq,
impl<E> StructuralPartialEq for CommandFailure<E>
Auto Trait Implementations§
impl<E> Freeze for CommandFailure<E>where
E: Freeze,
impl<E> RefUnwindSafe for CommandFailure<E>where
E: RefUnwindSafe,
impl<E> Send for CommandFailure<E>where
E: Send,
impl<E> Sync for CommandFailure<E>where
E: Sync,
impl<E> Unpin for CommandFailure<E>where
E: Unpin,
impl<E> UnwindSafe for CommandFailure<E>where
E: UnwindSafe,
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