pub struct LogoffRequest;Expand description
SMB2 LOGOFF request (spec section 2.2.7).
Sent by the client to request termination of a particular session. Contains only StructureSize (2 bytes) and Reserved (2 bytes).
Implementations§
Source§impl LogoffRequest
impl LogoffRequest
pub const STRUCTURE_SIZE: u16 = 4
Trait Implementations§
Source§impl Clone for LogoffRequest
impl Clone for LogoffRequest
Source§fn clone(&self) -> LogoffRequest
fn clone(&self) -> LogoffRequest
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 moreSource§impl Debug for LogoffRequest
impl Debug for LogoffRequest
Source§impl Pack for LogoffRequest
impl Pack for LogoffRequest
Source§fn pack(&self, cursor: &mut WriteCursor)
fn pack(&self, cursor: &mut WriteCursor)
Write this value into the cursor.
Source§impl PartialEq for LogoffRequest
impl PartialEq for LogoffRequest
Source§fn eq(&self, other: &LogoffRequest) -> bool
fn eq(&self, other: &LogoffRequest) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Unpack for LogoffRequest
impl Unpack for LogoffRequest
Source§fn unpack(cursor: &mut ReadCursor<'_>) -> Result<Self>
fn unpack(cursor: &mut ReadCursor<'_>) -> Result<Self>
Read a value from the cursor, advancing its position.
impl Eq for LogoffRequest
impl StructuralPartialEq for LogoffRequest
Auto Trait Implementations§
impl Freeze for LogoffRequest
impl RefUnwindSafe for LogoffRequest
impl Send for LogoffRequest
impl Sync for LogoffRequest
impl Unpin for LogoffRequest
impl UnsafeUnpin for LogoffRequest
impl UnwindSafe for LogoffRequest
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