pb-mapper-client 0.5.2

Register, connect, status, and admin client implementation for pb-mapper
Documentation
//! Library API for talking to a deployed pb-mapper relay.
//!
//! A [`Client`] holds the relay address and a credential. From there the same
//! process can register local services, subscribe to them, inspect tenant
//! status, and — with an administrator credential — drive every admin RPC.

mod admin;
mod client;
mod error;
mod handle;
mod types;

pub use admin::{
    Admin, AuthStatusInfo, ConnectionInfo, ConnectionPage, IssuedKey, KeyListPage, KeyMetadata,
    ServiceInfo, ServicePage,
};
pub use client::{Client, ClientConfig, ConnectRequest, RegisterRequest};
pub use error::{Error, Result};
pub use handle::{Connection, Registration};
pub use types::{LegacyProtocol, RemoteId, ServiceConnection, Transport, TunnelStatus};

/// The SDK version compiled into this process.
pub const SDK_VERSION: &str = env!("CARGO_PKG_VERSION");
pub use crate::diagnostics::{RecoveryFailure, RecoveryPhase, TunnelDiagnostics};