[−][src]Enum ub::deserialize::Error
Supporting error struct for parse()
and the versions
functions. Contains all parsing related errors.
Variants
The version is not supported by the parse()
function.
Signals some metadata is missing or incomplete. This is often the case when the file is smaller than the base meta size.
Metadata is in some way out of boundaries, such as the file path length size being above 8.
Header is too large to fit into memory. This limitation might be removed, but would probably cause severe slowdowns (having to seek
in the file to get any header data)
File is smaller than what header_size
suggests it is.
Path takes more memory than can be pointed to.
If the metadata for the file is incomplete, usually from outside manipulation (gone wrong). Occurs when more data is expected.
Reader(Error)
An error occured while trying to read from the supplied reader
.
Path contains invalid UTF8. This limitation should be removed in the future
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for Error
[src]
impl Send for Error
[src]
impl Sync for Error
[src]
impl Unpin for Error
[src]
impl !UnwindSafe for Error
[src]
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, 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>,