Struct LVM
pub struct LVM { /* private fields */ }Expand description
Lyquor Virtual Machine implementation.
Implementations§
§impl LVM
impl LVM
pub fn new( log: Addr<Log>, network: Hub, pool_size: usize, inter_ops: Option<InterOps>, ) -> Self
pub fn set_inter_ops(&mut self, ops: Option<InterOps>)
pub fn contains(&self, id: &LyquidID) -> bool
pub async fn add_instance( &mut self, id: LyquidID, versioned_store: Arc<dyn VersionedStateStore<LyquidNumber>>, simple_store: Arc<dyn SimpleStateStore>, console: Option<Recipient<OnConsoleOutput>>, bartender: Option<Bartender>, ) -> Result<Instance, Error>
pub fn remove_instance(&mut self, id: &LyquidID)
pub fn get_instance(&self, id: &LyquidID) -> Option<Instance>
pub fn upc(&self) -> &UPC<Error>
pub fn upc_mut(&mut self) -> &mut UPC<Error>
Auto Trait Implementations§
impl !Freeze for LVM
impl !RefUnwindSafe for LVM
impl Send for LVM
impl Sync for LVM
impl Unpin for LVM
impl !UnwindSafe for LVM
Blanket Implementations§
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more