pub enum FdType {
Raw(RawFd),
Registered(RegisteredFd),
Fixed(FixedFile),
}Expand description
File descriptor type for operations.
This enum represents the different types of file descriptors that can be used with operations, supporting both regular file descriptors and registered ones.
Variants§
Raw(RawFd)
Regular file descriptor
Registered(RegisteredFd)
Registered file descriptor
Fixed(FixedFile)
Fixed file (accessed by index)
Trait Implementations§
Auto Trait Implementations§
impl Freeze for FdType
impl RefUnwindSafe for FdType
impl Send for FdType
impl Sync for FdType
impl Unpin for FdType
impl UnsafeUnpin for FdType
impl UnwindSafe for FdType
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