pub struct EncodedString(/* private fields */);
Expand description
A string together with its Encoding
.
Implementations§
Source§impl EncodedString
impl EncodedString
Trait Implementations§
Source§impl Debug for EncodedString
impl Debug for EncodedString
Source§impl Distribution<EncodedString> for Regex
impl Distribution<EncodedString> for Regex
Source§impl From<EncodedString> for Vec<u8>
impl From<EncodedString> for Vec<u8>
Source§fn from(es: EncodedString) -> Self
fn from(es: EncodedString) -> Self
Converts to this type from the input type.
Source§impl From<String> for EncodedString
impl From<String> for EncodedString
Source§impl Hash for EncodedString
impl Hash for EncodedString
Source§impl Ord for EncodedString
impl Ord for EncodedString
Source§impl PartialEq for EncodedString
impl PartialEq for EncodedString
Source§impl PartialOrd for EncodedString
impl PartialOrd for EncodedString
Source§impl TryFrom<EncodedString> for String
impl TryFrom<EncodedString> for String
Source§type Error = FromUtf8Error
type Error = FromUtf8Error
The type returned in the event of a conversion error.
impl Eq for EncodedString
Auto Trait Implementations§
impl Freeze for EncodedString
impl RefUnwindSafe for EncodedString
impl Send for EncodedString
impl Sync for EncodedString
impl Unpin for EncodedString
impl UnwindSafe for EncodedString
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