Trait WithC8Str
Source pub trait WithC8Str: Sized {
type Error;
// Required method
fn with_c8_str<R>(
self,
f: impl FnOnce(&C8Str) -> R,
) -> Result<R, Self::Error>;
}
Expand description
Access an object as a &C8Str
Access this object as a &C8Str
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.
Source§Available on crate feature alloc only.
Source§Available on crate feature alloc only.
Source§Available on crate feature alloc only.
Source§Available on crate feature alloc only.
Source§Available on crate feature alloc only.
Source§Available on crate feature alloc only.
Source§Available on crate feature alloc only.
Source§Available on crate feature alloc only.
Source§Available on crate feature alloc only.
Source§Available on crate feature alloc only.
Source§Available on crate feature alloc only.