pub struct Utf8Error(pub Utf8Error);
Expand description
Wrapper around core::str::Utf8Error
to provide a panic
method for use in unwrap_ctx
,
returned by from_utf8
.
Tuple Fields§
§0: Utf8Error
Implementations§
Trait Implementations§
impl Copy for Utf8Error
Auto Trait Implementations§
impl Freeze for Utf8Error
impl RefUnwindSafe for Utf8Error
impl Send for Utf8Error
impl Sync for Utf8Error
impl Unpin for Utf8Error
impl UnwindSafe for Utf8Error
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