[][src]Enum rkyv::ArchiveBufferError

pub enum ArchiveBufferError {
    Overflow {
        pos: usize,
        bytes_needed: usize,
        archive_len: usize,
    },
    SoughtPastEnd {
        seek_position: usize,
        archive_len: usize,
    },
}

The error type returned by an ArchiveBuffer.

Variants

Overflow

Writing has overflowed the internal buffer.

Fields of Overflow

pos: usizebytes_needed: usizearchive_len: usize
SoughtPastEnd

The writer sought past the end of the internal buffer.

Fields of SoughtPastEnd

seek_position: usizearchive_len: usize

Trait Implementations

impl Debug for ArchiveBufferError[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, 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.