[][src]Trait ascii::IntoAsciiString

pub trait IntoAsciiString: Sized {
    unsafe fn into_ascii_string_unchecked(self) -> AsciiString;
fn into_ascii_string(self) -> Result<AsciiString, FromAsciiError<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, FromAsciiError<Self>>

Convert to AsciiString.

Loading content...

Implementations on Foreign Types

impl IntoAsciiString for Vec<AsciiChar>[src]

impl<'a> IntoAsciiString for &'a [AsciiChar][src]

impl IntoAsciiString for Vec<u8>[src]

impl<'a> IntoAsciiString for &'a [u8][src]

impl IntoAsciiString for String[src]

impl<'a> IntoAsciiString for &'a str[src]

impl IntoAsciiString for CString[src]

Note that the trailing null byte will be removed in the conversion.

impl<'a> IntoAsciiString for &'a CStr[src]

Note that the trailing null byte will be removed in the conversion.

impl<'a, B: ?Sized> IntoAsciiString for Cow<'a, B> where
    B: 'a + ToOwned,
    &'a B: IntoAsciiString,
    <B as ToOwned>::Owned: IntoAsciiString
[src]

Loading content...

Implementors

impl IntoAsciiString for AsciiString[src]

impl<'a> IntoAsciiString for &'a AsciiStr[src]

Loading content...
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy