pub struct Dock<A: Actor> {
pub actor: Arc<Mutex<Option<A>>>,
pub cell: ExtendedCell<A::Msg>,
}Fields§
§actor: Arc<Mutex<Option<A>>>§cell: ExtendedCell<A::Msg>Trait Implementations§
Auto Trait Implementations§
impl<A> Freeze for Dock<A>
impl<A> !RefUnwindSafe for Dock<A>
impl<A> Send for Dock<A>
impl<A> Sync for Dock<A>
impl<A> Unpin for Dock<A>
impl<A> UnsafeUnpin for Dock<A>
impl<A> !UnwindSafe for Dock<A>
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