Enum tauri::scope::ShellScopeError
source · pub enum ShellScopeError {
Validation {
index: usize,
validation: String,
},
Io(Error),
}
Expand description
All errors that can happen while validating a scoped command.
Variants§
Validation
Available on crate features
shell-execute
or shell-open
only.At least one argument did not pass input validation.
Fields
Io(Error)
Available on crate features
shell-execute
or shell-sidecar
only.A generic IO error that occurs while executing specified shell commands.
Trait Implementations§
source§impl Debug for ScopeError
impl Debug for ScopeError
source§impl Display for ScopeError
impl Display for ScopeError
source§impl Error for ScopeError
impl Error for ScopeError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
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 ScopeError
impl !RefUnwindSafe for ScopeError
impl Send for ScopeError
impl Sync for ScopeError
impl Unpin for ScopeError
impl !UnwindSafe for ScopeError
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