pub struct FilePipeLocalInformation {
pub named_pipe_type: NamedPipeType,
pub named_pipe_configuration: NamedPipeConfiguration,
pub maximum_instances: u32,
pub current_instances: u32,
pub inbound_quota: u32,
pub read_data_available: u32,
pub outbound_quota: u32,
pub write_quota_available: u32,
pub named_pipe_state: NamedPipeState,
pub named_pipe_end: NamedPipeEnd,
}Expand description
Query information associated with a named pipe that is not specific to one end of the pipe or another.
Fields§
§named_pipe_type: NamedPipeTypeThe type of named pipe.
named_pipe_configuration: NamedPipeConfigurationThe named pipe configuration.
maximum_instances: u32The maximum number of instances that can be created for this pipe.
current_instances: u32The number of current named pipe instances.
inbound_quota: u32The inbound quota in bytes.
read_data_available: u32Bytes of data available to be read from the named pipe.
outbound_quota: u32The outbound quota in bytes.
write_quota_available: u32The write quota in bytes.
named_pipe_state: NamedPipeStateThe named pipe state.
named_pipe_end: NamedPipeEndSpecifies whether the named pipe handle is for the client or server end of a named pipe.
Trait Implementations§
Source§impl BinRead for FilePipeLocalInformation
impl BinRead for FilePipeLocalInformation
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 FilePipeLocalInformation
impl BinWrite for FilePipeLocalInformation
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 FilePipeLocalInformation
impl Debug for FilePipeLocalInformation
Source§impl From<FilePipeLocalInformation> for QueryFileInfo
impl From<FilePipeLocalInformation> for QueryFileInfo
Source§fn from(value: FilePipeLocalInformation) -> QueryFileInfo
fn from(value: FilePipeLocalInformation) -> QueryFileInfo
Converts to this type from the input type.
Source§impl PartialEq for FilePipeLocalInformation
impl PartialEq for FilePipeLocalInformation
Source§impl QueryFileInfoValue for FilePipeLocalInformation
impl QueryFileInfoValue for FilePipeLocalInformation
const CLASS_ID: QueryFileInfoClass = QueryFileInfoClass::PipeLocalInformation
Source§impl TryFrom<QueryFileInfo> for FilePipeLocalInformation
impl TryFrom<QueryFileInfo> for FilePipeLocalInformation
Source§type Error = SmbFsccError
type Error = SmbFsccError
The type returned in the event of a conversion error.
impl Eq for FilePipeLocalInformation
impl StructuralPartialEq for FilePipeLocalInformation
Auto Trait Implementations§
impl Freeze for FilePipeLocalInformation
impl RefUnwindSafe for FilePipeLocalInformation
impl Send for FilePipeLocalInformation
impl Sync for FilePipeLocalInformation
impl Unpin for FilePipeLocalInformation
impl UnwindSafe for FilePipeLocalInformation
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