struct BlockingIoSource {
fd: WeakFileDescriptionRef<dyn SourceFileDescription>,
blocked_threads: BTreeMap<ThreadId, BlockingIoInterest>,
}Fields§
§fd: WeakFileDescriptionRef<dyn SourceFileDescription>The source file description which is registered into the poll. We only store weak references such that source file descriptions can be destroyed whilst they are registered. They will later be cleaned up on the next GC run.
blocked_threads: BTreeMap<ThreadId, BlockingIoInterest>The threads which are blocked on the I/O source, and the interest indicating when they should be unblocked.
Auto Trait Implementations§
impl !DynSend for BlockingIoSource
impl !DynSync for BlockingIoSource
impl !RefUnwindSafe for BlockingIoSource
impl !Send for BlockingIoSource
impl !Sync for BlockingIoSource
impl !UnwindSafe for BlockingIoSource
impl Freeze for BlockingIoSource
impl Unpin for BlockingIoSource
impl UnsafeUnpin for BlockingIoSource
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
Layout§
Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...) attributes. Please see the Rust Reference's “Type Layout” chapter for details on type layout guarantees.
Size: 40 bytes