pub enum Reply {
Hello {
protocol: u32,
home: String,
os: String,
},
Stat(Entry),
List {
entries: Vec<Entry>,
total: u32,
},
Read {
data: Vec<u8>,
eof: bool,
},
Done,
Path(String),
Procs(ProcFrame),
PaneProcs(PaneFrame),
Err {
kind: ErrKind,
message: String,
},
}Expand description
The answer to one request.
Variants§
Hello
Fields
Stat(Entry)
List
Read
Done
Path(String)
A path (Request::Realpath).
Procs(ProcFrame)
PaneProcs(PaneFrame)
Err
Implementations§
Trait Implementations§
impl Eq for Reply
impl StructuralPartialEq for Reply
Auto Trait Implementations§
impl Freeze for Reply
impl RefUnwindSafe for Reply
impl Send for Reply
impl Sync for Reply
impl Unpin for Reply
impl UnsafeUnpin for Reply
impl UnwindSafe for Reply
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