Struct spice::spicetools::SystemError[][src]

pub struct SystemError {
    pub kind: SystemErrorKind,
}

An error which can be returned when using the type System.

This error can happen when loading/unload a kernel or building the system.

Read SystemErrorKind for the different kinds of errors related to the type System.

Fields

kind: SystemErrorKind

Trait Implementations

impl Clone for SystemError[src]

impl Debug for SystemError[src]

impl Display for SystemError[src]

impl From<KernelError> for SystemError[src]

Implement the conversion from KernelError to SystemError. This will be automatically called by ? if a KernelError needs to be converted into a SystemError.

impl From<SystemBuilderError> for SystemError[src]

Implement the conversion from SystemBuilderError to SystemError. This will be automatically called by ? if a SystemBuilderError needs to be converted into a SystemError.

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<SS, SP> SupersetOf<SS> for SP where
    SS: SubsetOf<SP>, 

impl<SS, SP> SupersetOf<SS> for SP where
    SS: SubsetOf<SP>, 

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

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

The type returned in the event of a conversion error.