pub struct SingletonMistyClientPod<R> { /* private fields */ }Implementations§
Source§impl<R> SingletonMistyClientPod<R>
impl<R> SingletonMistyClientPod<R>
pub const fn new() -> Self
pub fn reset(&self)
pub fn destroy(&self)
pub fn create( &self, view_manager: MistyViewModelManager<R>, state_manager: MistyStateManager, service_manager: MistyServiceManager, async_task_runtime: impl IAsyncTaskRuntimeAdapter + Send + Sync + 'static, )
pub fn call_controller<Controller, Arg, E>(
&self,
controller: Controller,
arg: Arg,
) -> Result<ControllerRet<R>, E>where
Controller: MistyController<Arg, E>,
pub fn on_signal(&self, f: impl Fn(MistySignal) + Send + Sync + 'static)
pub fn flush_scheduled_tasks(&self) -> Result<ControllerRet<R>, Infallible>
pub fn accessor(&self) -> MistyClientAccessor
Auto Trait Implementations§
impl<R> !Freeze for SingletonMistyClientPod<R>
impl<R> RefUnwindSafe for SingletonMistyClientPod<R>
impl<R> Send for SingletonMistyClientPod<R>where
R: Send,
impl<R> Sync for SingletonMistyClientPod<R>
impl<R> Unpin for SingletonMistyClientPod<R>where
R: Unpin,
impl<R> UnwindSafe for SingletonMistyClientPod<R>
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