pub struct P9String { /* private fields */ }
Expand description
A 9P protocol string.
The string is always valid UTF-8 and 65535 bytes or less (enforced by P9String::new()
).
It is represented as a C string with a terminating 0 (NUL) character to allow it to be passed directly to libc functions.
Implementations§
Trait Implementations§
Source§impl WireFormat for P9String
impl WireFormat for P9String
impl Eq for P9String
impl StructuralPartialEq for P9String
Auto Trait Implementations§
impl Freeze for P9String
impl RefUnwindSafe for P9String
impl Send for P9String
impl Sync for P9String
impl Unpin for P9String
impl UnwindSafe for P9String
Blanket Implementations§
Source§impl<T> AsyncWireFormatExt for Twhere
T: WireFormat + Send,
impl<T> AsyncWireFormatExt for Twhere
T: WireFormat + Send,
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> ConvertWireFormat for Twhere
T: WireFormat,
impl<T> ConvertWireFormat for Twhere
T: WireFormat,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more