kvarn_async::prelude::compact_str::core::ffi

Struct FromBytesUntilNulError

1.69.0 · source
pub struct FromBytesUntilNulError(/* private fields */);
Expand description

An error indicating that no nul byte was present.

A slice used to create a CStr must contain a nul byte somewhere within the slice.

This error is created by the CStr::from_bytes_until_nul method.

Trait Implementations§

1.69.0 · source§

impl Clone for FromBytesUntilNulError

source§

fn clone(&self) -> FromBytesUntilNulError

Returns a copy of the value.