pub struct SessionView { /* private fields */ }Implementations§
Source§impl SessionView
impl SessionView
pub fn new(event_receiver: UnboundedReceiver<Reply<SnapshotWithEvents>>) -> Self
pub fn set_model_input(&mut self, input: ProviderInput)
pub fn snapshot(&self, durable: &DurableThread, force_running: bool) -> Snapshot
pub fn wait( &mut self, durable: &DurableThread, force_running: bool, reply: Reply<Snapshot>, )
pub fn wake(&mut self, durable: &DurableThread, force_running: bool)
pub async fn receive_event_query(&mut self) -> Option<Reply<SnapshotWithEvents>>
pub fn answer_event_query( &self, durable: &DurableThread, force_running: bool, reply: Reply<SnapshotWithEvents>, )
pub fn close(&mut self)
Auto Trait Implementations§
impl !RefUnwindSafe for SessionView
impl !UnwindSafe for SessionView
impl Freeze for SessionView
impl Send for SessionView
impl Sync for SessionView
impl Unpin for SessionView
impl UnsafeUnpin for SessionView
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