pub struct SetInfoResponse;Expand description
SMB2 SET_INFO response (spec section 2.2.40).
A minimal response indicating that the set operation succeeded. Contains only the 2-byte StructureSize field.
Implementations§
Source§impl SetInfoResponse
impl SetInfoResponse
pub const STRUCTURE_SIZE: u16 = 2
Trait Implementations§
Source§impl Clone for SetInfoResponse
impl Clone for SetInfoResponse
Source§fn clone(&self) -> SetInfoResponse
fn clone(&self) -> SetInfoResponse
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 SetInfoResponse
impl Debug for SetInfoResponse
impl Eq for SetInfoResponse
Source§impl Pack for SetInfoResponse
impl Pack for SetInfoResponse
Source§fn pack(&self, cursor: &mut WriteCursor)
fn pack(&self, cursor: &mut WriteCursor)
Write this value into the cursor.
Source§impl PartialEq for SetInfoResponse
impl PartialEq for SetInfoResponse
Source§fn eq(&self, other: &SetInfoResponse) -> bool
fn eq(&self, other: &SetInfoResponse) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for SetInfoResponse
Source§impl Unpack for SetInfoResponse
impl Unpack for SetInfoResponse
Source§fn unpack(cursor: &mut ReadCursor<'_>) -> Result<Self>
fn unpack(cursor: &mut ReadCursor<'_>) -> Result<Self>
Read a value from the cursor, advancing its position.
Auto Trait Implementations§
impl Freeze for SetInfoResponse
impl RefUnwindSafe for SetInfoResponse
impl Send for SetInfoResponse
impl Sync for SetInfoResponse
impl Unpin for SetInfoResponse
impl UnsafeUnpin for SetInfoResponse
impl UnwindSafe for SetInfoResponse
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