pub struct FileDesc {
pub fd: CSocket,
}
Expand description
Any file descriptor on unix, only sockets on Windows.
Fields§
§fd: CSocket
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for FileDesc
impl Send for FileDesc
impl Sync for FileDesc
impl Unpin for FileDesc
impl UnwindSafe for FileDesc
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