Struct LyquidPoolHandle
pub struct LyquidPoolHandle { /* private fields */ }Implementations§
§impl LyquidPoolHandle
impl LyquidPoolHandle
pub fn get_address_by_ed25519_service(&self) -> GetAddressByEd25519Service
pub fn get_ed25519_by_address_service(&self) -> GetEd25519ByAddressService
pub fn get_eth_contract_addr_service(&self) -> GetEthContractAddrService
pub fn oracle_info_service(&self) -> OracleInfoService
pub async fn get_address_by_ed25519( &self, pos: ChainPos, id: NodeID, ) -> Result<Option<Address>, Error>
pub async fn get_ed25519_by_address( &self, pos: ChainPos, address: Address, ) -> Result<Option<NodeID>, Error>
pub async fn get_eth_contract_address( &self, pos: ChainPos, id: LyquidID, ) -> Result<Option<Address>, Error>
pub async fn fetch_oracle_info( &self, msg: FetchOracleInfo, ) -> Result<Option<OracleEpochInfo>, Error>
pub async fn get_bartender(&self) -> Result<Lyquid, Error>
pub async fn get_lyquid(&self, id: LyquidID) -> Result<Option<Lyquid>, Error>
pub async fn get_id_by_contract( &self, addr: Address, ) -> Result<Option<LyquidID>, Error>
pub async fn get_lyquid_by_eth_addr( &self, addr: Address, pos: ChainPos, ) -> Result<Option<(Lyquid, LyquidNumber)>, Error>
pub async fn get_registered_lyquid_list( &self, ) -> Result<Option<Vec<(LyquidID, Vec<LyquidID>)>>, Error>
pub async fn get_lyquid_deployment_info( &self, id: LyquidID, idx: u32, ) -> Result<Option<DeployInfo>, Error>
pub async fn get_latest_lyquid_deployment_info( &self, id: LyquidID, ) -> Result<Option<DeployInfo>, Error>
pub async fn get_hosted_lyquid_list(&self) -> Result<Vec<LyquidID>, Error>
pub async fn get_deployed_lyquid_list(&self) -> Result<Vec<LyquidID>, Error>
pub async fn image_repo(&self) -> Result<Arc<dyn LyquidImageRepo>, Error>
pub async fn get_console_buffer( &self, id: LyquidID, sink: ConsoleSink, row_limits: Option<Range<isize>>, id_limits: Option<Range<usize>>, ) -> Result<Option<GetConsoleBufferResult>, Error>
pub async fn load_lyquid( &self, id: LyquidID, deps: Vec<LyquidID>, ) -> Result<bool, Error>
pub async fn unload_lyquid(&self, id: LyquidID) -> Result<(), Error>
pub async fn stop(&self) -> Result<(), Error>
pub async fn process_exited(&self, id: LyquidID) -> Result<(), Error>
pub fn stop_hosted_lyquids(&self, ids: Vec<LyquidID>)
Trait Implementations§
§impl Clone for LyquidPoolHandle
impl Clone for LyquidPoolHandle
§fn clone(&self) -> LyquidPoolHandle
fn clone(&self) -> LyquidPoolHandle
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for LyquidPoolHandle
impl RefUnwindSafe for LyquidPoolHandle
impl Send for LyquidPoolHandle
impl Sync for LyquidPoolHandle
impl Unpin for LyquidPoolHandle
impl UnwindSafe for LyquidPoolHandle
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§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> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§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§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T in a tonic::Request§impl<L> LayerExt<L> for L
impl<L> LayerExt<L> for L
§fn named_layer<S>(&self, service: S) -> Layered<<L as Layer<S>>::Service, S>where
L: Layer<S>,
fn named_layer<S>(&self, service: S) -> Layered<<L as Layer<S>>::Service, S>where
L: Layer<S>,
Applies the layer to a service and wraps it in [
Layered].