enum.Error

Enum tauri_utils::​Error

pub enum Error {
    Architecture,
    OS,
    Environment,
    Unknown,
    ParentProcess,
    ParentPID,
    ChildProcess,
}

The error types.

Variants

Architecture

Target triple architecture error

OS

Target triple OS error

Environment

Target triple environment error

Unknown

Target triple unknown target-os error

ParentProcess

Get parent process error

ParentPID

Get parent process PID error

ChildProcess

Get child process error

Trait Implementations

impl Debug for Error

fn fmt(&self, f: &mut Formatter) -> Result

Formats the value using the given formatter. Read more

impl Display for Error

fn fmt(&self, __formatter: &mut Formatter) -> Result

Formats the value using the given formatter. Read more

impl Error for Error

fn description(&self) -> &str1.0.0

This method is soft-deprecated. Read more

fn cause(&self) -> Option<&dyn Error>1.0.0

Deprecated since 1.33.0:

replaced by Error::source, which can support downcasting

The lower-level cause of this error, if any. Read more

fn source(&self) -> Option<&(dyn Error + 'static)>1.30.0

The lower-level source of this error, if any. Read more

fn backtrace(&self) -> Option<&Backtrace>

🔬 This is a nightly-only experimental API. (backtrace)

Returns a stack backtrace, if available, of where this error occurred. Read more

Auto Trait Implementations

impl RefUnwindSafe for Error

impl Send for Error

impl Sync for Error

impl Unpin for Error

impl UnwindSafe for Error

Blanket Implementations

impl<T> Any for T where T: 'static + ?Sized,

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more

impl<T> Borrow<T> for T where T: ?Sized,

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more

impl<T> BorrowMut<T> for T where T: ?Sized,

fn borrow_mut(&mut self) -> &mutT

Mutably borrows from an owned value. Read more

impl<T> From<T> for T

fn from(t: T) -> T

Performs the conversion.

impl<T, U> Into<U> for T where U: From<T>,

fn into(self) -> U

Performs the conversion.

impl<T> ToString for T where T: Display + ?Sized,

default fn to_string(&self) -> String

Converts the given value to a String. Read more

impl<T, U> TryFrom<U> for T where U: Into<T>,

type Error = Infallible

The type returned in the event of a conversion error.

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.

impl<T, U> TryInto<U> for T where U: TryFrom<T>,

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.