Struct LyquidPool
pub struct LyquidPool { /* private fields */ }Expand description
Collection of all serving Lyquids.
Implementations§
§impl LyquidPool
impl LyquidPool
Trait Implementations§
§impl Actor for LyquidPool
impl Actor for LyquidPool
§type Context = Context<LyquidPool>
type Context = Context<LyquidPool>
Actor execution context type
§fn stopping(&mut self, ctx: &mut Self::Context) -> Running
fn stopping(&mut self, ctx: &mut Self::Context) -> Running
Called after an actor is in
Actor::Stopping state. Read more§fn start(self) -> Addr<Self>where
Self: Actor<Context = Context<Self>>,
fn start(self) -> Addr<Self>where
Self: Actor<Context = Context<Self>>,
Start a new asynchronous actor, returning its address. Read more
§fn start_in_arbiter<F>(wrk: &ArbiterHandle, f: F) -> Addr<Self>
fn start_in_arbiter<F>(wrk: &ArbiterHandle, f: F) -> Addr<Self>
Start new actor in arbiter’s thread.
§impl Debug for LyquidPool
impl Debug for LyquidPool
§impl Handler<GetBartender> for LyquidPool
impl Handler<GetBartender> for LyquidPool
§impl Handler<GetConsoleBuffer> for LyquidPool
impl Handler<GetConsoleBuffer> for LyquidPool
§impl Handler<GetDeployedLyquidList> for LyquidPool
impl Handler<GetDeployedLyquidList> for LyquidPool
§impl Handler<GetHostedLyquidList> for LyquidPool
impl Handler<GetHostedLyquidList> for LyquidPool
§impl Handler<GetIdByContract> for LyquidPool
impl Handler<GetIdByContract> for LyquidPool
§impl Handler<GetLatestLyquidInfo> for LyquidPool
impl Handler<GetLatestLyquidInfo> for LyquidPool
§type Result = AtomicResponse<LyquidPool, Option<LyquidInfo>>
type Result = AtomicResponse<LyquidPool, Option<LyquidInfo>>
The type of value that this handler will return. Read more
§fn handle(
&mut self,
msg: GetLatestLyquidInfo,
_ctx: &mut Context<Self>,
) -> Self::Result
fn handle( &mut self, msg: GetLatestLyquidInfo, _ctx: &mut Context<Self>, ) -> Self::Result
This method is called for every message received by this actor.
§impl Handler<GetLyquid> for LyquidPool
impl Handler<GetLyquid> for LyquidPool
§impl Handler<GetLyquidByEthAddr> for LyquidPool
impl Handler<GetLyquidByEthAddr> for LyquidPool
§type Result = AtomicResponse<LyquidPool, Option<(Lyquid, LyquidNumber)>>
type Result = AtomicResponse<LyquidPool, Option<(Lyquid, LyquidNumber)>>
The type of value that this handler will return. Read more
§fn handle(
&mut self,
msg: GetLyquidByEthAddr,
_ctx: &mut Context<Self>,
) -> Self::Result
fn handle( &mut self, msg: GetLyquidByEthAddr, _ctx: &mut Context<Self>, ) -> Self::Result
This method is called for every message received by this actor.
§impl Handler<GetLyquidDeploymentInfo> for LyquidPool
impl Handler<GetLyquidDeploymentInfo> for LyquidPool
§impl Handler<GetRegisteredLyquidList> for LyquidPool
impl Handler<GetRegisteredLyquidList> for LyquidPool
§impl Handler<ImageRepo> for LyquidPool
impl Handler<ImageRepo> for LyquidPool
§impl Handler<LoadLyquid> for LyquidPool
impl Handler<LoadLyquid> for LyquidPool
§type Result = AtomicResponse<LyquidPool, Result<bool, Error>>
type Result = AtomicResponse<LyquidPool, Result<bool, Error>>
The type of value that this handler will return. Read more
§fn handle(&mut self, msg: LoadLyquid, _ctx: &mut Context<Self>) -> Self::Result
fn handle(&mut self, msg: LoadLyquid, _ctx: &mut Context<Self>) -> Self::Result
This method is called for every message received by this actor.
Auto Trait Implementations§
impl Freeze for LyquidPool
impl !RefUnwindSafe for LyquidPool
impl Send for LyquidPool
impl Sync for LyquidPool
impl Unpin for LyquidPool
impl !UnwindSafe for LyquidPool
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<'de, F, T> Deserialize<'de, As<F>> for Twhere
F: BareFormula + ?Sized,
T: Deserialize<'de, F>,
impl<'de, F, T> Deserialize<'de, As<F>> for Twhere
F: BareFormula + ?Sized,
T: Deserialize<'de, F>,
§fn deserialize(deserializer: Deserializer<'de>) -> Result<T, DeserializeError>
fn deserialize(deserializer: Deserializer<'de>) -> Result<T, DeserializeError>
Deserializes value provided deserializer.
Returns deserialized value and the number of bytes consumed from
the and of input. Read more
§fn deserialize_in_place(
&mut self,
deserializer: Deserializer<'de>,
) -> Result<(), DeserializeError>
fn deserialize_in_place( &mut self, deserializer: Deserializer<'de>, ) -> Result<(), DeserializeError>
Deserializes value in-place provided deserializer.
Overwrites
self with data from the input. Read more§impl<'de, F, T> Deserialize<'de, Ref<F>> for T
impl<'de, F, T> Deserialize<'de, Ref<F>> for T
§fn deserialize(de: Deserializer<'de>) -> Result<T, DeserializeError>
fn deserialize(de: Deserializer<'de>) -> Result<T, DeserializeError>
Deserializes value provided deserializer.
Returns deserialized value and the number of bytes consumed from
the and of input. Read more
§fn deserialize_in_place(
&mut self,
de: Deserializer<'de>,
) -> Result<(), DeserializeError>
fn deserialize_in_place( &mut self, de: Deserializer<'de>, ) -> Result<(), DeserializeError>
Deserializes value in-place provided deserializer.
Overwrites
self with data from the input. 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> 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