Struct glib::main_context_futures::TaskSource
source · #[repr(C)]struct TaskSource {
source: GSource,
future: FutureWrapper,
waker: Waker,
return_tx: Option<Sender<Result<Box<dyn Any + 'static>>>>,
}
Fields§
§source: GSource
§future: FutureWrapper
§waker: Waker
§return_tx: Option<Sender<Result<Box<dyn Any + 'static>>>>
Implementations§
source§impl TaskSource
impl TaskSource
Trait Implementations§
impl Send for TaskSource
impl Sync for TaskSource
Auto Trait Implementations§
impl Freeze for TaskSource
impl !RefUnwindSafe for TaskSource
impl Unpin for TaskSource
impl !UnwindSafe for TaskSource
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