pub struct ReplyHeader {
pub command: u16,
pub message_id: u64,
pub session_id: u64,
pub tree_id: u32,
pub credits: u16,
pub seal: SealIntent,
}Expand description
The header fields a reply echoes or sets, captured when the context is built.
Fields§
§command: u16SMB2 command code.
message_id: u64MessageId echoed from the request (0 for some server events).
session_id: u64SessionId echoed (0 for e.g. a lease break, [MS-SMB2] §3.3.4.6).
tree_id: u32TreeId echoed.
credits: u16Credits granted on this reply.
seal: SealIntentSigning/sealing intent.
Trait Implementations§
Source§impl Clone for ReplyHeader
impl Clone for ReplyHeader
Source§fn clone(&self) -> ReplyHeader
fn clone(&self) -> ReplyHeader
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for ReplyHeader
impl RefUnwindSafe for ReplyHeader
impl Send for ReplyHeader
impl Sync for ReplyHeader
impl Unpin for ReplyHeader
impl UnsafeUnpin for ReplyHeader
impl UnwindSafe for ReplyHeader
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