pub enum OversyncError {
SurrealDb(String),
Connector(String),
Sink(String),
Config(String),
Migration(String),
Plugin(String),
FailSafe {
deleted_count: usize,
previous_count: usize,
threshold_pct: f64,
},
Internal(String),
}Variants§
SurrealDb(String)
Connector(String)
Sink(String)
Config(String)
Migration(String)
Plugin(String)
FailSafe
Internal(String)
Implementations§
Source§impl OversyncError
impl OversyncError
pub fn is_fail_safe(&self) -> bool
Trait Implementations§
Source§impl Debug for OversyncError
impl Debug for OversyncError
Source§impl Display for OversyncError
impl Display for OversyncError
Source§impl Error for OversyncError
impl Error for OversyncError
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()
Auto Trait Implementations§
impl Freeze for OversyncError
impl RefUnwindSafe for OversyncError
impl Send for OversyncError
impl Sync for OversyncError
impl Unpin for OversyncError
impl UnsafeUnpin for OversyncError
impl UnwindSafe for OversyncError
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