pub enum LiveError {
Query(ErroredQuery),
Decode(ZeroValueError),
}Expand description
Why a LiveView’s value may not be what the server has.
Variants§
Query(ErroredQuery)
The server could not run the query.
Decode(ZeroValueError)
The rows could not be read as the query’s result type. The value is the last one read.
Trait Implementations§
Source§impl Error for LiveError
impl Error for LiveError
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()
impl StructuralPartialEq for LiveError
Auto Trait Implementations§
impl Forget for LiveError
impl Freeze for LiveError
impl Move for LiveError
impl RefUnwindSafe for LiveError
impl Send for LiveError
impl Sync for LiveError
impl Unpin for LiveError
impl UnsafeUnpin for LiveError
impl UnwindSafe for LiveError
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