Enum caesar_core::shared::Status
source · pub enum Status {
Continue(),
Exit(),
Err(String),
}Expand description
Represents the result of an operation.
This enum is used to indicate the status of an operation. It can be one of three variants:
Continue: Operation was successful and the client should continue.Exit: Operation was successful and the client should exit.Err: Operation encountered an error. The error message is provided in the variant.
Variants§
Continue()
Operation was successful and the client should continue.
Exit()
Operation was successful and the client should exit.
Err(String)
Operation encountered an error. The error message is provided in the variant.
Trait Implementations§
source§impl PartialEq for Status
impl PartialEq for Status
impl StructuralPartialEq for Status
Auto Trait Implementations§
impl Freeze for Status
impl RefUnwindSafe for Status
impl Send for Status
impl Sync for Status
impl Unpin for Status
impl UnwindSafe for Status
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