Enum goko::errors::GokoError [−][src]
pub enum GokoError { PointCloudError(PointCloudError), IndexNotInTree(usize), ProtobufError(ProtobufError), IoError(Error), InvalidProbDistro, 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)
IndexNotInTree(usize)
Most common error, the given point name isn’t present in the training data
ProtobufError(ProtobufError)
Parsing error when loading a CSV file
IoError(Error)
Parsing error when loading a CSV file
The probability distribution you are trying to sample from is invalid, probably because it was infered from 0 points.
Inserted a nested node into a node that already had a nested child
Inserted a node before you changed it from a leaf node into a normal node. Insert the nested child first.
Trait Implementations
impl From<PointCloudError> for GokoError
[src]
impl From<PointCloudError> for GokoError
[src]fn from(err: PointCloudError) -> Self
[src]
impl From<ProtobufError> for GokoError
[src]
impl From<ProtobufError> for GokoError
[src]fn from(err: ProtobufError) -> Self
[src]
Auto Trait Implementations
impl !RefUnwindSafe for GokoError
impl !RefUnwindSafe for GokoError
impl !UnwindSafe for GokoError
impl !UnwindSafe for GokoError
Blanket Implementations
impl<T, U> Cast<U> for T where
U: FromCast<T>,
impl<T, U> Cast<U> for T where
U: FromCast<T>,
pub fn cast(self) -> U
impl<T> FromCast<T> for T
impl<T> FromCast<T> for T
pub fn from_cast(t: T) -> T
impl<T> Same<T> for T
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>,
pub fn to_subset(&self) -> Option<SS>
pub fn is_in_subset(&self) -> bool
pub unsafe fn to_subset_unchecked(&self) -> SS
pub fn from_subset(element: &SS) -> SP
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,