pub trait TakeStringError: TakeBytesError {
    // Required method
    fn invalid_string(err: FromUtf8Error) -> Self;
}
Expand description

Trait describes an error when converting into a String.

Required Methods§

source

fn invalid_string(err: FromUtf8Error) -> Self

Creates an error, where the byte data is not valid UTF-8.

Object Safety§

This trait is not object safe.

Implementors§