Struct Tversion
pub struct Tversion {
pub msize: u32,
pub version: String,
}
Expand description
version – negotiate protocol version
size[4] Tversion tag[2] msize[4] version[s]
size[4] Rversion tag[2] msize[4] version[s]
version establishes the msize, which is the maximum message size inclusive of the size value that can be handled by both client and server.
It also establishes the protocol version. For 9P2000.L version must be the string 9P2000.L.
See the Plan 9 manual page for version(5).
Fields§
§msize: u32
§version: String
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Tversion
impl RefUnwindSafe for Tversion
impl Send for Tversion
impl Sync for Tversion
impl Unpin for Tversion
impl UnwindSafe for Tversion
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