[][src]Enum usage_tracker::UsageTrackerError

pub enum UsageTrackerError {
    FileLoadErrorRon(Error),
    ObjectAlreadyTracked {
        name: String,
    },
    ObjectNeverUsed {
        name: String,
    },
    ObjectNotTracked {
        name: String,
    },
}

All errors the library's public interface can return.

Variants

FileLoadErrorRon(Error)

The loading (most likely parsing) of a RON file failed. Contains the root cause.

ObjectAlreadyTracked

Tried to add a new object to keep track of, but object with same name is already tracked.

Fields of ObjectAlreadyTracked

name: String
ObjectNeverUsed

Tried to predict the need of a never used object.

Fields of ObjectNeverUsed

name: String
ObjectNotTracked

Tried to access an object that is not kept track of.

Fields of ObjectNotTracked

name: String

Trait Implementations

impl Debug for UsageTrackerError[src]

impl Display for UsageTrackerError[src]

impl Error for UsageTrackerError[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> 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.

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