Struct istring::FromUtf8Error
source · pub struct FromUtf8Error<T> { /* private fields */ }
Implementations§
source§impl<T: Deref<Target = [u8]>> FromUtf8Error<T>
impl<T: Deref<Target = [u8]>> FromUtf8Error<T>
pub fn as_bytes(&self) -> &[u8]
pub fn into_bytes(self) -> T
pub fn utf8_error(&self) -> Utf8Error
Trait Implementations§
Auto Trait Implementations§
impl<T> RefUnwindSafe for FromUtf8Error<T>where T: RefUnwindSafe,
impl<T> Send for FromUtf8Error<T>where T: Send,
impl<T> Sync for FromUtf8Error<T>where T: Sync,
impl<T> Unpin for FromUtf8Error<T>where T: Unpin,
impl<T> UnwindSafe for FromUtf8Error<T>where T: UnwindSafe,
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