pub struct NixString(pub ByteBuf);
Expand description
A string from nix.
Strings in the nix protocol are not necessarily UTF-8, so this is
different from the rust standard String
.
Tuple Fields§
§0: ByteBuf
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for NixString
impl<'de> Deserialize<'de> for NixString
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for NixString
impl StructuralPartialEq for NixString
Auto Trait Implementations§
impl Freeze for NixString
impl RefUnwindSafe for NixString
impl Send for NixString
impl Sync for NixString
impl Unpin for NixString
impl UnwindSafe for NixString
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