pub struct Action<T: Send + Sync + Serialize + DeserializeOwned + Eq + PartialEq + Debug + 'static, E: HandlerError>(/* private fields */);
Expand description
Action contains a closure that handles the communication on a channel
Implementations§
Source§impl<T: NetworkContent, E: HandlerError> Action<T, E>
impl<T: NetworkContent, E: HandlerError> Action<T, E>
Auto Trait Implementations§
impl<T, E> Freeze for Action<T, E>
impl<T, E> !RefUnwindSafe for Action<T, E>
impl<T, E> Send for Action<T, E>
impl<T, E> Sync for Action<T, E>
impl<T, E> Unpin for Action<T, E>
impl<T, E> !UnwindSafe for Action<T, E>
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