pub enum ActorError {
DoNotCount,
ResetEnvironment,
}
Variants§
DoNotCount
The operation did not occur due to the current state of the instance. The global operation count should not be incremented.
For example, an actor that tries to delete files from a filesystem may return DoNotCount if there are no files to delete.
ResetEnvironment
The operation did not occur because the actor requires the environment to be reset. The global operation count should not be incremented.
For example, if an actor’s connection to a filesystem is severed, they may return ResetEnvironment to establish a new connection.
Auto Trait Implementations§
impl Freeze for ActorError
impl RefUnwindSafe for ActorError
impl Send for ActorError
impl Sync for ActorError
impl Unpin for ActorError
impl UnwindSafe for ActorError
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