pub struct RunningServer { /* private fields */ }Expand description
A started server: mint typed handles, then abort() to stop.
Implementations§
Source§impl RunningServer
impl RunningServer
Sourcepub async fn pv<T: PvScalar>(&self, name: &str) -> Result<Pv<T>, PvError>
pub async fn pv<T: PvScalar>(&self, name: &str) -> Result<Pv<T>, PvError>
Mint a typed handle to any served record (handle-built or .db-loaded).
Sourcepub async fn array_pv(&self, name: &str) -> Result<PvArray, PvError>
pub async fn array_pv(&self, name: &str) -> Result<PvArray, PvError>
Mint an array handle to any served record (handle-built or .db-loaded).
pub fn store(&self) -> &Arc<SimplePvStore> ⓘ
pub fn abort(&self)
Auto Trait Implementations§
impl !RefUnwindSafe for RunningServer
impl !UnwindSafe for RunningServer
impl Freeze for RunningServer
impl Send for RunningServer
impl Sync for RunningServer
impl Unpin for RunningServer
impl UnsafeUnpin for RunningServer
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