Enum watto::ReadStringError
source · [−]Available on crate feature
strings only.Expand description
An error when trying to read a string from a serialized StringTable.
Variants
Leb128(Error)
The string’s length prefix is not valid LEB128.
Utf8(Utf8Error)
The string data is not valid UTF-8.
OutOfBounds
The string’s offset or length is outside the bounds of the data blob.
Trait Implementations
sourceimpl Debug for ReadStringError
impl Debug for ReadStringError
sourceimpl Display for ReadStringError
impl Display for ReadStringError
sourceimpl Error for ReadStringError
impl Error for ReadStringError
sourcefn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more
1.0.0 · sourcefn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
sourceimpl From<Error> for ReadStringError
impl From<Error> for ReadStringError
Auto Trait Implementations
impl !RefUnwindSafe for ReadStringError
impl Send for ReadStringError
impl Sync for ReadStringError
impl Unpin for ReadStringError
impl !UnwindSafe for ReadStringError
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more