Trait ascii::IntoAsciiString
[−]
[src]
pub trait IntoAsciiString: Sized { unsafe fn into_ascii_string_unchecked(self) -> AsciiString; fn into_ascii_string(self) -> Result<AsciiString, Self>; }
Convert vectors into AsciiString
.
Required Methods
unsafe fn into_ascii_string_unchecked(self) -> AsciiString
Convert to AsciiString
without checking for non-ASCII characters.
fn into_ascii_string(self) -> Result<AsciiString, Self>
Convert to AsciiString
.