Enum multiboot2::StringError
source · pub enum StringError {
MissingNul(FromBytesUntilNulError),
Utf8(Utf8Error),
}
Expand description
Error type describing failures when parsing the string from a tag.
Variants§
MissingNul(FromBytesUntilNulError)
There is no terminating NUL character, although the specification requires one.
Utf8(Utf8Error)
The sequence until the first NUL character is not valid UTF-8.
Trait Implementations§
source§impl Clone for StringError
impl Clone for StringError
source§fn clone(&self) -> StringError
fn clone(&self) -> StringError
Returns a copy of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for StringError
impl Debug for StringError
source§impl Display for StringError
impl Display for StringError
source§impl PartialEq for StringError
impl PartialEq for StringError
impl Eq for StringError
impl StructuralPartialEq for StringError
Auto Trait Implementations§
impl Freeze for StringError
impl RefUnwindSafe for StringError
impl Send for StringError
impl Sync for StringError
impl Unpin for StringError
impl UnwindSafe for StringError
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more