pub struct AgentSession<T: Agent> {
pub controller: Controller,
pub next_state: Option<Next<T>>,
pub joint: AddressJoint<T>,
pub address: Address<T>,
}Fields§
§controller: Controller§next_state: Option<Next<T>>§joint: AddressJoint<T>§address: Address<T>Implementations§
Source§impl<T: Agent> AgentSession<T>
impl<T: Agent> AgentSession<T>
Trait Implementations§
Source§impl<T: Agent> AgentContext<T> for AgentSession<T>
impl<T: Agent> AgentContext<T> for AgentSession<T>
fn session(&mut self) -> &mut AgentSession<T>
Source§impl<T: Agent> Context for AgentSession<T>
impl<T: Agent> Context for AgentSession<T>
Source§impl<T: Agent> Default for AgentSession<T>
impl<T: Agent> Default for AgentSession<T>
Source§impl<T: Agent> Deref for AgentSession<T>
impl<T: Agent> Deref for AgentSession<T>
Source§impl<T: Agent> DerefMut for AgentSession<T>
impl<T: Agent> DerefMut for AgentSession<T>
Source§impl<T: Agent> ManagedContext for AgentSession<T>
impl<T: Agent> ManagedContext for AgentSession<T>
fn controller(&mut self) -> &mut Controller
Auto Trait Implementations§
impl<T> Freeze for AgentSession<T>
impl<T> !RefUnwindSafe for AgentSession<T>
impl<T> Send for AgentSession<T>
impl<T> !Sync for AgentSession<T>
impl<T> Unpin for AgentSession<T>
impl<T> !UnwindSafe for AgentSession<T>
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