Trait archive::OsStrExt

source ·
pub trait OsStrExt {
    // Required method
    fn from_bytes(_: &[u8]) -> &OsStr;
}

Required Methods§

source

fn from_bytes(_: &[u8]) -> &OsStr

Convert raw bytes to OsStr

Panics

On windows, when the data is not UTF-8 encoded, this panics!

Implementations on Foreign Types§

source§

impl OsStrExt for OsStr

source§

fn from_bytes(bytes: &[u8]) -> &OsStr

Implementors§