[][src]Enum grandma::errors::GrandmaError

pub enum GrandmaError {
    PointCloudError(PointCloudError),
    NameNotInTree(String),
    IoError(Error),
    ParsingError(ParsingError),
    DoubleNest,
    InsertBeforeNest,
}

Error type for MalwareBrot. Mostly this is a wrapper around PointCloudError, as the data i/o where most errors happen.

Variants

PointCloudError(PointCloudError)

Unable to retrieve some data point (given by index) in a file (slice name)

NameNotInTree(String)

Most common error, the given point name isn't present in the training data

IoError(Error)

IO error when opening files

ParsingError(ParsingError)

Parsing error when loading a CSV file

DoubleNest

Inserted a nested node into a node that already had a nested child

InsertBeforeNest

Inserted a node before you changed it from a leaf node into a normal node. Insert the nested child first.

Trait Implementations

impl Debug for GrandmaError[src]

impl Display for GrandmaError[src]

impl Error for GrandmaError[src]

impl From<Error> for GrandmaError[src]

impl From<GrandmaError> for Error[src]

impl From<PointCloudError> for GrandmaError[src]

impl From<ProtobufError> for GrandmaError[src]

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, U> Cast<U> for T where
    U: FromCast<T>, 

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

impl<T> FromCast<T> for T

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.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,