pub struct ReflectionProxy { /* private fields */ }Expand description
A running reflection proxy. Dropping the handle does NOT stop it;
call Self::shutdown for that.
Implementations§
Source§impl ReflectionProxy
impl ReflectionProxy
pub fn builder() -> ProxyBuilder
Sourcepub fn local_addr(&self) -> SocketAddr
pub fn local_addr(&self) -> SocketAddr
The address your bot (Account::offline(...)) and any vanilla
spectator clients should connect to.
Auto Trait Implementations§
impl Freeze for ReflectionProxy
impl RefUnwindSafe for ReflectionProxy
impl Send for ReflectionProxy
impl Sync for ReflectionProxy
impl Unpin for ReflectionProxy
impl UnsafeUnpin for ReflectionProxy
impl UnwindSafe for ReflectionProxy
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