pub struct RespBody {
pub command: u8,
pub params: Vec<u8>,
pub bytes: Vec<u8>,
pub tid_override: Option<u16>,
pub uid_override: Option<u16>,
}Expand description
One response body (parameter words + data block). A complete frame carries a header plus one body; AndX chains carry several bodies whose parameter blocks open with AndXCommand/AndXOffset links.
Fields§
§command: u8Command this body responds to.
params: Vec<u8>Parameter words (even length; AndX fields live at bytes 0–3).
bytes: Vec<u8>Data block following ByteCount.
tid_override: Option<u16>Overrides the response header TID (tree connect returns a fresh TID).
uid_override: Option<u16>Overrides the response header UID (session setup returns a fresh UID).
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for RespBody
impl RefUnwindSafe for RespBody
impl Send for RespBody
impl Sync for RespBody
impl Unpin for RespBody
impl UnsafeUnpin for RespBody
impl UnwindSafe for RespBody
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