[−][src]Enum xdrfile::ErrorCode
Error codes returned from the C API
Variants
No error, C API returned successfully
TRR file had corrupt Header
Failed to read a string where expected
Failed to read a double where expected
Failed to read an int where expected
Failed to read a float where expected
Failed to read a uint where expected
Failed to read compressed XTC coordinates
Error encountered while closing file
File had incorrect "magic number" (not an XTC file)
Failed to allocate memory for TRR file
End of file was reached while trying to read
File was not found when trying to open
Failed to seek within file
UnmatchedCode(i32)
Something unexpected happened
Implementations
impl ErrorCode
[src]
Trait Implementations
impl Clone for ErrorCode
[src]
impl Copy for ErrorCode
[src]
impl Debug for ErrorCode
[src]
impl Display for ErrorCode
[src]
impl From<i32> for ErrorCode
[src]
impl PartialEq<ErrorCode> for ErrorCode
[src]
impl StructuralPartialEq for ErrorCode
[src]
Auto Trait Implementations
impl RefUnwindSafe for ErrorCode
impl Send for ErrorCode
impl Sync for ErrorCode
impl Unpin for ErrorCode
impl UnwindSafe for ErrorCode
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
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> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
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>,