pub struct String { /* private fields */ }
Expand description
A LevelDB CString.
Like regular CStrings, it is a byte-array with no specified encoding. The length is also stored alongside the pointer, so this supports interior NULs.
Implementations§
source§impl String
impl String
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for String
impl !Send for String
impl !Sync for String
impl Unpin for String
impl UnwindSafe for String
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more