pub struct ValidateNegotiateInfoResponse {
pub capabilities: u32,
pub guid: Guid,
pub security_mode: NegotiateSecurityMode,
pub dialect: Dialect,
}Expand description
Response for validating a previous SMB 2 NEGOTIATE. Returned in an SMB2 IOCTL response for FSCTL_VALIDATE_NEGOTIATE_INFO request. Valid for servers implementing the SMB 3.x dialect family, optional for others.
Reference: MS-SMB2 2.2.32.6
Fields§
§capabilities: u32The capabilities of the server.
guid: GuidThe ServerGuid of the server.
security_mode: NegotiateSecurityModeThe security mode of the server.
dialect: DialectThe SMB2 dialect in use by the server on the connection.
Trait Implementations§
Source§impl BinRead for ValidateNegotiateInfoResponse
impl BinRead for ValidateNegotiateInfoResponse
Source§fn read_options<R>(
__binrw_generated_var_reader: &mut R,
__binrw_generated_var_endian: Endian,
__binrw_generated_var_arguments: <ValidateNegotiateInfoResponse as BinRead>::Args<'_>,
) -> Result<ValidateNegotiateInfoResponse, Error>
fn read_options<R>( __binrw_generated_var_reader: &mut R, __binrw_generated_var_endian: Endian, __binrw_generated_var_arguments: <ValidateNegotiateInfoResponse as BinRead>::Args<'_>, ) -> Result<ValidateNegotiateInfoResponse, Error>
Source§fn read<R>(reader: &mut R) -> Result<Self, Error>
fn read<R>(reader: &mut R) -> Result<Self, Error>
Read
Self from the reader using default arguments. Read moreSource§fn read_be<R>(reader: &mut R) -> Result<Self, Error>
fn read_be<R>(reader: &mut R) -> Result<Self, Error>
Read
Self from the reader using default arguments and assuming
big-endian byte order. Read moreSource§fn read_le<R>(reader: &mut R) -> Result<Self, Error>
fn read_le<R>(reader: &mut R) -> Result<Self, Error>
Read
Self from the reader using default arguments and assuming
little-endian byte order. Read moreSource§fn read_ne<R>(reader: &mut R) -> Result<Self, Error>
fn read_ne<R>(reader: &mut R) -> Result<Self, Error>
Read
T from the reader assuming native-endian byte order. Read moreSource§fn read_args<R>(reader: &mut R, args: Self::Args<'_>) -> Result<Self, Error>
fn read_args<R>(reader: &mut R, args: Self::Args<'_>) -> Result<Self, Error>
Read
Self from the reader using the given arguments. Read moreSource§fn read_be_args<R>(reader: &mut R, args: Self::Args<'_>) -> Result<Self, Error>
fn read_be_args<R>(reader: &mut R, args: Self::Args<'_>) -> Result<Self, Error>
Read
Self from the reader, assuming big-endian byte order, using the
given arguments. Read moreimpl Eq for ValidateNegotiateInfoResponse
Source§impl FsctlResponseContent for ValidateNegotiateInfoResponse
impl FsctlResponseContent for ValidateNegotiateInfoResponse
const FSCTL_CODES: &'static [FsctlCodes]
impl StructuralPartialEq for ValidateNegotiateInfoResponse
Auto Trait Implementations§
impl Freeze for ValidateNegotiateInfoResponse
impl RefUnwindSafe for ValidateNegotiateInfoResponse
impl Send for ValidateNegotiateInfoResponse
impl Sync for ValidateNegotiateInfoResponse
impl Unpin for ValidateNegotiateInfoResponse
impl UnsafeUnpin for ValidateNegotiateInfoResponse
impl UnwindSafe for ValidateNegotiateInfoResponse
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