pub enum Shared {}Expand description
The flavour of a runtime that can be used from, and run on, any thread.
A shared runtime only runs Send futures. It keeps its state in Arc and Mutex. Its
handles, and the tasks, timers and registrations built on it, are Send and Sync.
This is a marker type. It has no values, and is only used as a type parameter.
Trait Implementations§
Auto Trait Implementations§
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