pub enum VortexError {
Network(String),
Storage(String),
Timeout,
Unavailable,
Custom(String),
}Expand description
Error type for Vortex I/O operations.
Variants§
Network(String)
Network error (connection refused, timeout, etc.).
Storage(String)
Storage error (disk full, corruption, I/O failure).
Timeout
Operation timed out.
Node is not available (crashed, partitioned).
Custom(String)
Custom application error.
Trait Implementations§
Source§impl Clone for VortexError
impl Clone for VortexError
Source§fn clone(&self) -> VortexError
fn clone(&self) -> VortexError
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for VortexError
impl Debug for VortexError
Source§impl Display for VortexError
impl Display for VortexError
Source§impl Error for VortexError
impl Error for VortexError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
Source§impl PartialEq for VortexError
impl PartialEq for VortexError
impl Eq for VortexError
impl StructuralPartialEq for VortexError
Auto Trait Implementations§
impl Freeze for VortexError
impl RefUnwindSafe for VortexError
impl Send for VortexError
impl Sync for VortexError
impl Unpin for VortexError
impl UnsafeUnpin for VortexError
impl UnwindSafe for VortexError
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