Struct geph4_protocol::client_exit::ClientExitClient
source · pub struct ClientExitClient<T: RpcTransport = DynRpcTransport>(pub T);
Expand description
Automatically generated client type that communicates to servers implementing the ClientExitProtocol protocol. The easiest way to use this is by using the From<RpcTransport>
implementation.
See the ClientExitProtocol trait for further documentation on the functionality of the methods..
Tuple Fields§
§0: T
Implementations§
source§impl<__nrpc_T: RpcTransport + Send + Sync + 'static> ClientExitClient<__nrpc_T>
impl<__nrpc_T: RpcTransport + Send + Sync + 'static> ClientExitClient<__nrpc_T>
pub async fn validate( &self, token: BlindToken ) -> Result<bool, ClientExitError<__nrpc_T::Error>>
pub async fn telemetry_heartbeat( &self, tele: ClientTelemetry ) -> Result<(), ClientExitError<__nrpc_T::Error>>
pub async fn get_vpn_ipv4( &self ) -> Result<Option<Ipv4Addr>, ClientExitError<__nrpc_T::Error>>
Trait Implementations§
Auto Trait Implementations§
impl<T> RefUnwindSafe for ClientExitClient<T>where T: RefUnwindSafe,
impl<T> Send for ClientExitClient<T>
impl<T> Sync for ClientExitClient<T>
impl<T> Unpin for ClientExitClient<T>where T: Unpin,
impl<T> UnwindSafe for ClientExitClient<T>where T: UnwindSafe,
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