Enum bpx::error::Error [−][src]
pub enum Error {}Show variants
Checksum(u32, u32), Io(Error), TypeError(&'static str, &'static str), PropCountExceeded(usize), MissingProp(&'static str), Truncation(&'static str), Corruption(String), Utf8(&'static str), Unsupported(String), Capacity(usize), Deflate(&'static str), Inflate(&'static str), Other(String),
Expand description
Represents a BPX error
Variants
Io(Error)
PropCountExceeded(usize)
Describes too many props or values attempted to be written as part of an Object or Array (Structured Data) (ie exceeds 255)
Arguments
- actual count of props
MissingProp(&'static str)
Truncation(&'static str)
Describes a data truncation error, this means a section or the file itself has been truncated
Arguments
- last operation name before failure
Corruption(String)
Describes a data corruption error, this means an impossible byte or sequence of bytes has been found
Arguments
- message
Utf8(&'static str)
Unsupported(String)
Capacity(usize)
Describes a section that is too large to be written (ie exceeds 2 pow 32 / 4Gb)
Arguments
- actual size of section
Deflate(&'static str)
Inflate(&'static str)
Other(String)
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for Error
impl Send for Error
impl Sync for Error
impl Unpin for Error
impl !UnwindSafe for Error
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,