[−][src]Enum keeshond_datapack::DataError
Return type when failing to load a DataObject from a DataStore
Variants
The given package was not found in the source::Source
The given package is not trusted by the source::Source
The package is loaded, but has no DataObject by the given pathname
An invalid character (forward slash) was used in a package or type folder name
An invalid source ID was specified
The operation is not supported by this implementation
PackageSourceError(PackageError)
An error occurred while accessing a package's source from the source::Source
IoError(Error)
An error of type std::io::Error occurred.
BadData(String)
A logical error occurred while reading a DataObject
Trait Implementations
impl Debug for DataError
[src]
impl Display for DataError
[src]
impl Fail for DataError
[src]
pub fn name(&self) -> Option<&str>
[src]
pub fn cause(&self) -> Option<&dyn Fail>
[src]
pub fn backtrace(&self) -> Option<&Backtrace>
[src]
pub fn context<D>(self, context: D) -> Context<D> where
D: Display + Send + Sync + 'static,
[src]
D: Display + Send + Sync + 'static,
pub fn compat(self) -> Compat<Self>
[src]
impl From<Error> for DataError
[src]
Auto Trait Implementations
impl !RefUnwindSafe for DataError
impl Send for DataError
impl Sync for DataError
impl Unpin for DataError
impl !UnwindSafe for DataError
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> AsFail for T where
T: Fail,
[src]
T: Fail,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Same<T> for T
[src]
type Output = T
Should always be Self
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,