pub struct ActionCall<A: Actor> { /* private fields */ }Implementations§
Source§impl<A: Actor> ActionCall<A>
impl<A: Actor> ActionCall<A>
pub fn name(&self) -> &str
pub fn conn(&self) -> Option<&ConnCtx<A>>
pub fn scheduled_fire(&self) -> Option<&ScheduledFireInfo>
pub fn raw_args(&self) -> &[u8] ⓘ
pub fn decode(&self) -> AnyhowResult<A::Action>
pub fn decode_as<T: DeserializeOwned>(&self) -> AnyhowResult<T>
pub fn ok<T: Serialize>(self, value: &T)
pub fn err(self, err: Error)
Trait Implementations§
Auto Trait Implementations§
impl<A> !RefUnwindSafe for ActionCall<A>
impl<A> !UnwindSafe for ActionCall<A>
impl<A> Freeze for ActionCall<A>
impl<A> Send for ActionCall<A>
impl<A> Sync for ActionCall<A>
impl<A> Unpin for ActionCall<A>
impl<A> UnsafeUnpin for ActionCall<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