pub struct EchoResponse;Expand description
SMB2 ECHO response (spec section 2.2.29).
Sent by the server to confirm that an ECHO request was processed. Contains only StructureSize (2 bytes) and Reserved (2 bytes).
Implementations§
Source§impl EchoResponse
impl EchoResponse
pub const STRUCTURE_SIZE: u16 = 4
Trait Implementations§
Source§impl Clone for EchoResponse
impl Clone for EchoResponse
Source§fn clone(&self) -> EchoResponse
fn clone(&self) -> EchoResponse
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 EchoResponse
impl Debug for EchoResponse
impl Eq for EchoResponse
Source§impl Pack for EchoResponse
impl Pack for EchoResponse
Source§fn pack(&self, cursor: &mut WriteCursor)
fn pack(&self, cursor: &mut WriteCursor)
Write this value into the cursor.
Source§impl PartialEq for EchoResponse
impl PartialEq for EchoResponse
Source§fn eq(&self, other: &EchoResponse) -> bool
fn eq(&self, other: &EchoResponse) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for EchoResponse
Source§impl Unpack for EchoResponse
impl Unpack for EchoResponse
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 EchoResponse
impl RefUnwindSafe for EchoResponse
impl Send for EchoResponse
impl Sync for EchoResponse
impl Unpin for EchoResponse
impl UnsafeUnpin for EchoResponse
impl UnwindSafe for EchoResponse
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