pub struct FileFsObjectIdInformation {
pub object_id: Guid,
pub extended_info: [u8; 48],
}Expand description
Query or Set the object ID for a file system data element. The operation MUST fail if the file system does not support object IDs.
Fields§
§object_id: GuidIdentifies the file system volume on the disk. This value is not required to be unique on the system.
extended_info: [u8; 48]A 48-byte value containing extended information on the file system volume. If no extended information has been written for this file system volume, the server MUST return 48 bytes of 0x00 in this field.
Trait Implementations§
Source§impl BinRead for FileFsObjectIdInformation
impl BinRead for FileFsObjectIdInformation
Source§fn read_options<R: Read + Seek>(
__binrw_generated_var_reader: &mut R,
__binrw_generated_var_endian: Endian,
__binrw_generated_var_arguments: Self::Args<'_>,
) -> BinResult<Self>
fn read_options<R: Read + Seek>( __binrw_generated_var_reader: &mut R, __binrw_generated_var_endian: Endian, __binrw_generated_var_arguments: Self::Args<'_>, ) -> BinResult<Self>
Source§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_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 moreSource§impl BinWrite for FileFsObjectIdInformation
impl BinWrite for FileFsObjectIdInformation
Source§fn write_options<W: Write + Seek>(
&self,
__binrw_generated_var_writer: &mut W,
__binrw_generated_var_endian: Endian,
__binrw_generated_var_arguments: Self::Args<'_>,
) -> BinResult<()>
fn write_options<W: Write + Seek>( &self, __binrw_generated_var_writer: &mut W, __binrw_generated_var_endian: Endian, __binrw_generated_var_arguments: Self::Args<'_>, ) -> BinResult<()>
Source§fn write_be<W>(&self, writer: &mut W) -> Result<(), Error>
fn write_be<W>(&self, writer: &mut W) -> Result<(), Error>
Write
Self to the writer assuming big-endian byte order. Read moreSource§fn write_le<W>(&self, writer: &mut W) -> Result<(), Error>
fn write_le<W>(&self, writer: &mut W) -> Result<(), Error>
Write
Self to the writer assuming little-endian byte order. Read moreSource§fn write_ne<W>(&self, writer: &mut W) -> Result<(), Error>
fn write_ne<W>(&self, writer: &mut W) -> Result<(), Error>
Write
Self to the writer assuming native-endian byte order. Read moreSource§fn write_be_args<W>(
&self,
writer: &mut W,
args: Self::Args<'_>,
) -> Result<(), Error>
fn write_be_args<W>( &self, writer: &mut W, args: Self::Args<'_>, ) -> Result<(), Error>
Write
Self to the writer, assuming big-endian byte order, using the
given arguments. Read moreSource§impl Debug for FileFsObjectIdInformation
impl Debug for FileFsObjectIdInformation
Source§impl From<FileFsObjectIdInformation> for QueryFileSystemInfo
impl From<FileFsObjectIdInformation> for QueryFileSystemInfo
Source§fn from(value: FileFsObjectIdInformation) -> QueryFileSystemInfo
fn from(value: FileFsObjectIdInformation) -> QueryFileSystemInfo
Converts to this type from the input type.
Source§impl From<FileFsObjectIdInformation> for SetFileSystemInfo
impl From<FileFsObjectIdInformation> for SetFileSystemInfo
Source§fn from(value: FileFsObjectIdInformation) -> SetFileSystemInfo
fn from(value: FileFsObjectIdInformation) -> SetFileSystemInfo
Converts to this type from the input type.
Source§impl QueryFileSystemInfoValue for FileFsObjectIdInformation
impl QueryFileSystemInfoValue for FileFsObjectIdInformation
const CLASS_ID: QueryFileSystemInfoClass = QueryFileSystemInfoClass::FsObjectIdInformation
Source§impl SetFileSystemInfoValue for FileFsObjectIdInformation
impl SetFileSystemInfoValue for FileFsObjectIdInformation
const CLASS_ID: SetFileSystemInfoClass = SetFileSystemInfoClass::FsObjectIdInformation
Source§impl TryFrom<QueryFileSystemInfo> for FileFsObjectIdInformation
impl TryFrom<QueryFileSystemInfo> for FileFsObjectIdInformation
Source§type Error = SmbFsccError
type Error = SmbFsccError
The type returned in the event of a conversion error.
Source§impl TryFrom<SetFileSystemInfo> for FileFsObjectIdInformation
impl TryFrom<SetFileSystemInfo> for FileFsObjectIdInformation
Source§type Error = SmbFsccError
type Error = SmbFsccError
The type returned in the event of a conversion error.
impl Eq for FileFsObjectIdInformation
impl StructuralPartialEq for FileFsObjectIdInformation
Auto Trait Implementations§
impl Freeze for FileFsObjectIdInformation
impl RefUnwindSafe for FileFsObjectIdInformation
impl Send for FileFsObjectIdInformation
impl Sync for FileFsObjectIdInformation
impl Unpin for FileFsObjectIdInformation
impl UnwindSafe for FileFsObjectIdInformation
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