pub struct MoltingSession<A>where
A: Agent,{
pub session: AgentSession<A>,
pub next_runtime: Option<Box<dyn MoltingRuntime>>,
}Fields§
§session: AgentSession<A>§next_runtime: Option<Box<dyn MoltingRuntime>>Trait Implementations§
Source§impl<A> AgentContext<A> for MoltingSession<A>where
A: Agent,
impl<A> AgentContext<A> for MoltingSession<A>where
A: Agent,
fn session(&mut self) -> &mut AgentSession<A>
fn next_envelope<'life0, 'async_trait>(
&'life0 mut self,
) -> Pin<Box<dyn Future<Output = Option<Box<dyn MessageFor<A>>>> + Send + 'async_trait>>where
'life0: 'async_trait,
MoltingSession<A>: 'async_trait,
Source§impl<A> Default for MoltingSession<A>where
A: Agent,
impl<A> Default for MoltingSession<A>where
A: Agent,
Source§fn default() -> MoltingSession<A>
fn default() -> MoltingSession<A>
Returns the “default value” for a type. Read more
Source§impl<A> ManagedContext for MoltingSession<A>where
A: Agent,
impl<A> ManagedContext for MoltingSession<A>where
A: Agent,
Source§impl<A> ReachableContext for MoltingSession<A>where
A: Agent,
impl<A> ReachableContext for MoltingSession<A>where
A: Agent,
Source§fn address(&self) -> &<MoltingSession<A> as ReachableContext>::Address
fn address(&self) -> &<MoltingSession<A> as ReachableContext>::Address
A reference to an address.
Auto Trait Implementations§
impl<A> Freeze for MoltingSession<A>
impl<A> !RefUnwindSafe for MoltingSession<A>
impl<A> Send for MoltingSession<A>
impl<A> !Sync for MoltingSession<A>
impl<A> Unpin for MoltingSession<A>
impl<A> !UnwindSafe for MoltingSession<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