pub struct ProxyServer { /* private fields */ }Implementations§
Source§impl ProxyServer
impl ProxyServer
pub fn auth_choice(auths: &[u8]) -> AuthChoice
Trait Implementations§
Source§impl Actor for ProxyServer
impl Actor for ProxyServer
Source§type Context = Context<ProxyServer>
type Context = Context<ProxyServer>
Actor execution context type
Source§fn started(&mut self, _ctx: &mut Self::Context)
fn started(&mut self, _ctx: &mut Self::Context)
Called when an actor gets polled the first time.
Source§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 moreSource§fn start_default() -> Addr<Self>
fn start_default() -> Addr<Self>
Construct and start a new asynchronous actor, returning its
address. Read more
Source§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.
Source§impl Clone for ProxyServer
impl Clone for ProxyServer
Source§fn clone(&self) -> ProxyServer
fn clone(&self) -> ProxyServer
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 moreSource§impl Default for ProxyServer
impl Default for ProxyServer
Source§impl Handler<ToProxyServer> for ProxyServer
impl Handler<ToProxyServer> for ProxyServer
Source§type Result = MessageResult<ToProxyServer>
type Result = MessageResult<ToProxyServer>
The type of value that this handler will return. Read more
Auto Trait Implementations§
impl Freeze for ProxyServer
impl !RefUnwindSafe for ProxyServer
impl !Send for ProxyServer
impl !Sync for ProxyServer
impl Unpin for ProxyServer
impl !UnwindSafe for ProxyServer
Blanket Implementations§
Source§impl<'a, T> AsTaggedExplicit<'a> for Twhere
T: 'a,
impl<'a, T> AsTaggedExplicit<'a> for Twhere
T: 'a,
Source§impl<'a, T> AsTaggedImplicit<'a> for Twhere
T: 'a,
impl<'a, T> AsTaggedImplicit<'a> 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