pub struct ArgMap<NA, F, Arg> { /* private fields */ }
Expand description
See NewActor::map_arg
.
Trait Implementations
sourceimpl<NA, F, Arg> NewActor for ArgMap<NA, F, Arg> where
NA: NewActor,
F: FnMut(Arg) -> NA::Argument,
impl<NA, F, Arg> NewActor for ArgMap<NA, F, Arg> where
NA: NewActor,
F: FnMut(Arg) -> NA::Argument,
type RuntimeAccess = <NA as NewActor>::RuntimeAccess
type RuntimeAccess = <NA as NewActor>::RuntimeAccess
The kind of runtime access needed by the actor. Read more
Auto Trait Implementations
impl<NA, F, Arg> RefUnwindSafe for ArgMap<NA, F, Arg> where
Arg: RefUnwindSafe,
F: RefUnwindSafe,
NA: RefUnwindSafe,
impl<NA, F, Arg> Send for ArgMap<NA, F, Arg> where
Arg: Send,
F: Send,
NA: Send,
impl<NA, F, Arg> Sync for ArgMap<NA, F, Arg> where
Arg: Sync,
F: Sync,
NA: Sync,
impl<NA, F, Arg> Unpin for ArgMap<NA, F, Arg> where
Arg: Unpin,
F: Unpin,
NA: Unpin,
impl<NA, F, Arg> UnwindSafe for ArgMap<NA, F, Arg> where
Arg: UnwindSafe,
F: UnwindSafe,
NA: UnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more