pub struct SendPayload { /* private fields */ }
Implementations§
Source§impl SendPayload
impl SendPayload
pub fn new() -> Self
pub async fn dispatch( self, relay_pub: &SocketPublisher, ) -> Result<(), AgentError>
pub fn prepare_for_frontend( &mut self, frontend_id: FrontendId, frontend_payload: A2fRootBlob, )
pub fn prepare_for_relay(&mut self, data: A2rRootBlob)
pub fn prepare_for_activity( &mut self, activity: Arc<Activity>, data: ActivityInputBlob, )
pub fn prepare_for_relay_shutdown(&mut self)
pub fn is_relay_shutdown(&self) -> bool
Auto Trait Implementations§
impl Freeze for SendPayload
impl !RefUnwindSafe for SendPayload
impl Send for SendPayload
impl Sync for SendPayload
impl Unpin for SendPayload
impl !UnwindSafe for SendPayload
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