Trait ascii::AsMutAsciiStr [] [src]

pub trait AsMutAsciiStr {
    unsafe fn as_mut_ascii_str_unchecked(&mut self) -> &mut AsciiStr;
    fn as_mut_ascii_str(&mut self) -> Result<&mut AsciiStrAsAsciiStrError>;
}

Convert mutable slices of bytes to AsciiStr.

Required Methods

Convert to a mutable ASCII slice without checking for non-ASCII characters.

Convert to a mutable ASCII slice.

Implementors