jetstream_9p::messages
Enum Rmessage
pub enum Rmessage {
Version(Rversion),
Flush,
Walk(Rwalk),
Read(Rread),
Write(Rwrite),
Clunk,
Remove,
Attach(Rattach),
Auth(Rauth),
Statfs(Rstatfs),
Lopen(Rlopen),
Lcreate(Rlcreate),
Symlink(Rsymlink),
Mknod(Rmknod),
Rename,
Readlink(Rreadlink),
GetAttr(Rgetattr),
SetAttr,
XattrWalk(Rxattrwalk),
XattrCreate,
Readdir(Rreaddir),
Fsync,
Lock(Rlock),
GetLock(Rgetlock),
Link,
Mkdir(Rmkdir),
RenameAt,
UnlinkAt,
Lerror(Rlerror),
}
A message sent from a 9P server to a 9P client in response to a request from that client. Encapsulates a full frame.
Variants
Version(Rversion)
Flush
Walk(Rwalk)
Read(Rread)
Write(Rwrite)
Clunk
Remove
Attach(Rattach)
Auth(Rauth)
Statfs(Rstatfs)
Lopen(Rlopen)
Lcreate(Rlcreate)
Symlink(Rsymlink)
Mknod(Rmknod)
Rename
Readlink(Rreadlink)
GetAttr(Rgetattr)
SetAttr
XattrWalk(Rxattrwalk)
XattrCreate
Readdir(Rreaddir)
Fsync
Lock(Rlock)
GetLock(Rgetlock)
Link
Mkdir(Rmkdir)
RenameAt
UnlinkAt
Lerror(Rlerror)
Trait Implementations
impl Debug for Rmessage
fn fmt(&self, f: &mut Formatter<'_>) -> Result
Formats the value using the given formatter. Read more
Auto Trait Implementations
impl Freeze for Rmessage
impl RefUnwindSafe for Rmessage
impl Send for Rmessage
impl Sync for Rmessage
impl Unpin for Rmessage
impl UnwindSafe for Rmessage
Blanket Implementations
impl Any for Twhere T: 'static + ?Sized,
fn type_id(&self) -> TypeId
Gets the TypeId
of self
. Read more
impl Borrow for Twhere T: ?Sized,
fn borrow(&self) -> &T
Immutably borrows from an owned value. Read more
impl BorrowMut for Twhere T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
impl From for T
fn from(t: T) -> T
Returns the argument unchanged.
impl<T, U> Into for Twhere U: From,
fn into(self) -> U
Calls U::from(self)
.
That is, this conversion is whatever the implementation of From<T> for U
chooses to do.
impl<T, U> TryFrom for Twhere U: Into,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom>::Error>
Performs the conversion.
impl<T, U> TryInto for Twhere U: TryFrom,
type Error = <U as TryFrom>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom>::Error>
Performs the conversion.