pub struct LiveAgent { /* private fields */ }Trait Implementations§
Source§impl Agent for LiveAgent
impl Agent for LiveAgent
Source§type Input = WireEnvelope<DirectId<ClientProtocol>, LiveRequest>
type Input = WireEnvelope<DirectId<ClientProtocol>, LiveRequest>
Incoming message type.
Source§type Output = WireEnvelope<DirectId<ClientProtocol>, LiveResponse>
type Output = WireEnvelope<DirectId<ClientProtocol>, LiveResponse>
Outgoing message type.
Source§fn handle_input(&mut self, request: Self::Input, who: HandlerId)
fn handle_input(&mut self, request: Self::Input, who: HandlerId)
This method called on every incoming message.
Source§fn disconnected(&mut self, _id: HandlerId)
fn disconnected(&mut self, _id: HandlerId)
This method called on when a new bridge destroyed.
Source§fn name_of_resource() -> &'static str
fn name_of_resource() -> &'static str
Represents the name of loading resorce for remote workers which
have to live in a separate files.
Auto Trait Implementations§
impl Freeze for LiveAgent
impl !RefUnwindSafe for LiveAgent
impl !Send for LiveAgent
impl !Sync for LiveAgent
impl Unpin for LiveAgent
impl !UnwindSafe for LiveAgent
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
Source§impl<T> Dispatched for T
impl<T> Dispatched for T
Source§fn dispatcher() -> Dispatcher<T>
fn dispatcher() -> Dispatcher<T>
Creates a dispatcher to the agent that will not send messages back. Read more
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 moreSource§impl<T, V> IntoOptPropValue<V> for Twhere
T: IntoPropValue<Option<V>>,
impl<T, V> IntoOptPropValue<V> for Twhere
T: IntoPropValue<Option<V>>,
Source§fn into_opt_prop_value(self) -> Option<V>
fn into_opt_prop_value(self) -> Option<V>
Convert
self to an optional value of a Properties struct.Source§impl<T> IntoPropValue<Option<T>> for T
impl<T> IntoPropValue<Option<T>> for T
Source§fn into_prop_value(self) -> Option<T>
fn into_prop_value(self) -> Option<T>
Convert
self to a value of a Properties struct.Source§impl<T> IntoPropValue<T> for T
impl<T> IntoPropValue<T> for T
Source§fn into_prop_value(self) -> T
fn into_prop_value(self) -> T
Convert
self to a value of a Properties struct.