pub struct ThreadOwner { /* private fields */ }Expand description
The calling thread’s Owner, from Owner::thread.
It cannot leave its thread, since another call on the thread would produce the same owner.
Trait Implementations§
Source§impl Debug for ThreadOwner
impl Debug for ThreadOwner
Auto Trait Implementations§
impl !RefUnwindSafe for ThreadOwner
impl !Send for ThreadOwner
impl !Sync for ThreadOwner
impl Freeze for ThreadOwner
impl Unpin for ThreadOwner
impl UnsafeUnpin for ThreadOwner
impl UnwindSafe for ThreadOwner
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