Enum concrete_core::math::tensor::SaveError[][src]

pub enum SaveError {
    CreatingFile {
        filename: String,
        source: Error,
    },
    WritingFile {
        filename: String,
        source: Error,
    },
}

A type that represents an error when saving a tensor to a file.

Variants

CreatingFile

The error occured when creating the file. Probably a wrong path.

Fields of CreatingFile

filename: Stringsource: Error
WritingFile

The error occured when writing the file.

Fields of WritingFile

filename: Stringsource: Error

Trait Implementations

impl Debug for SaveError[src]

impl Display for SaveError[src]

impl Error for SaveError[src]

Auto Trait Implementations

Blanket Implementations

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

impl<T> AsFail for T where
    T: Fail, 

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

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

impl<Input, Output> CastInto<Output> for Input where
    Output: CastFrom<Input>, 
[src]

impl<E> Fail for E where
    E: 'static + Error + Send + Sync

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

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

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.