Enum ucs2::Ucs2ParseError
source · pub enum Ucs2ParseError {
NotMultiple2,
MissingNullTerm,
}
Expand description
Errors which may occur while parsing UCS-2
Variants§
NotMultiple2
buffer’s length was not a multiple of 2
MissingNullTerm
buffer did not contain a null terminator
Trait Implementations§
source§impl Debug for Ucs2ParseError
impl Debug for Ucs2ParseError
source§impl Display for Ucs2ParseError
impl Display for Ucs2ParseError
source§impl Error for Ucs2ParseError
impl Error for Ucs2ParseError
1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
Auto Trait Implementations§
impl Freeze for Ucs2ParseError
impl RefUnwindSafe for Ucs2ParseError
impl Send for Ucs2ParseError
impl Sync for Ucs2ParseError
impl Unpin for Ucs2ParseError
impl UnwindSafe for Ucs2ParseError
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more