pub struct GatewayProxy(/* private fields */);
Implementations§
Source§impl GatewayProxy
impl GatewayProxy
pub fn new(t: &Terminal) -> Self
pub async fn export_servants(&mut self) -> ServantResult<Vec<Oid>>
pub async fn export_report_servants(&mut self) -> ServantResult<Vec<Oid>>
pub async fn shutdown(&mut self, passcode: usize) -> ServantResult<()>
pub async fn login( &mut self, name: String, password: String, ) -> ServantResult<Context>
Trait Implementations§
Source§impl Clone for GatewayProxy
impl Clone for GatewayProxy
Source§fn clone(&self) -> GatewayProxy
fn clone(&self) -> GatewayProxy
Returns a copy 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 GatewayProxy
impl !RefUnwindSafe for GatewayProxy
impl Send for GatewayProxy
impl Sync for GatewayProxy
impl Unpin for GatewayProxy
impl !UnwindSafe for GatewayProxy
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