pub struct Context {
pub receptor: Receptor,
pub delegate: Delegate,
/* private fields */
}
Expand description
Agent Context contains necessary parts to create an agent.
Fields§
§receptor: Receptor
The receivor end to receive messages.
delegate: Delegate
Delegates are used to create new messengers.
Auto Trait Implementations§
impl Freeze for Context
impl !RefUnwindSafe for Context
impl !Send for Context
impl !Sync for Context
impl Unpin for Context
impl !UnwindSafe for Context
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