#[non_exhaustive]pub enum RegularFileStreamErrorKind {
NotRegularFile,
QueryFailed,
ResponseTooLarge,
MalformedResponse,
NamedStream,
}Expand description
Stable class of a retained regular-file stream inspection failure.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
NotRegularFile
The supplied handle does not identify a regular file.
QueryFailed
The operating system rejected the retained-handle stream query.
ResponseTooLarge
Stream metadata exceeded the fixed defensive query bound.
MalformedResponse
The operating system returned malformed or ambiguous stream metadata.
NamedStream
A named alternate data stream exists on the retained regular file.
Trait Implementations§
Source§impl Clone for RegularFileStreamErrorKind
impl Clone for RegularFileStreamErrorKind
impl Copy for RegularFileStreamErrorKind
Source§impl Debug for RegularFileStreamErrorKind
impl Debug for RegularFileStreamErrorKind
impl Eq for RegularFileStreamErrorKind
impl StructuralPartialEq for RegularFileStreamErrorKind
Auto Trait Implementations§
impl Freeze for RegularFileStreamErrorKind
impl RefUnwindSafe for RegularFileStreamErrorKind
impl Send for RegularFileStreamErrorKind
impl Sync for RegularFileStreamErrorKind
impl Unpin for RegularFileStreamErrorKind
impl UnsafeUnpin for RegularFileStreamErrorKind
impl UnwindSafe for RegularFileStreamErrorKind
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