pub enum TauriServerError {
HandlerNotFound(String),
ExecutionFailed(String),
NotStreamingHandler(String),
}Expand description
Errors returned by AllFrame Tauri commands
Variants§
HandlerNotFound(String)
The requested handler was not found in the router
ExecutionFailed(String)
Handler execution failed
NotStreamingHandler(String)
Attempted to call a non-streaming handler as streaming
Trait Implementations§
Source§impl Debug for TauriServerError
impl Debug for TauriServerError
Source§impl Display for TauriServerError
impl Display for TauriServerError
Source§impl Error for TauriServerError
impl Error for TauriServerError
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 TauriServerError
impl RefUnwindSafe for TauriServerError
impl Send for TauriServerError
impl Sync for TauriServerError
impl Unpin for TauriServerError
impl UnsafeUnpin for TauriServerError
impl UnwindSafe for TauriServerError
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