Enum std::backtrace_rs::types::BytesOrWideString[][src]

pub enum BytesOrWideString<'a> {
    Bytes(&'a [u8]),
    Wide(&'a [u16]),
}
Expand description

A platform independent representation of a string. When working with std enabled it is recommended to the convenience methods for providing conversions to std types.

Variants

Bytes(&'a [u8])1.0.0

A slice, typically provided on Unix platforms.

Tuple Fields of Bytes

0: &'a [u8]
Wide(&'a [u16])1.0.0

Wide strings typically from Windows.

Tuple Fields of Wide

0: &'a [u16]

Trait Implementations

Formats the value using the given formatter. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.