pub struct Client { /* private fields */ }
Expand description
A Tunnel Group Backend balances traffic among all online tunnels that match a label selector.
Implementations§
Source§impl Client
impl Client
pub fn new(c: Client) -> Self
Sourcepub async fn create(
&self,
req: &TunnelGroupBackendCreate,
) -> Result<TunnelGroupBackend, Error>
pub async fn create( &self, req: &TunnelGroupBackendCreate, ) -> Result<TunnelGroupBackend, Error>
Create a new TunnelGroup backend
Sourcepub async fn get(&self, id: &str) -> Result<TunnelGroupBackend, Error>
pub async fn get(&self, id: &str) -> Result<TunnelGroupBackend, Error>
Get detailed information about a TunnelGroup backend by ID
Sourcepub async fn update(
&self,
req: &TunnelGroupBackendUpdate,
) -> Result<TunnelGroupBackend, Error>
pub async fn update( &self, req: &TunnelGroupBackendUpdate, ) -> Result<TunnelGroupBackend, Error>
Update TunnelGroup backend by ID
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Client
impl !RefUnwindSafe for Client
impl Send for Client
impl Sync for Client
impl Unpin for Client
impl !UnwindSafe for Client
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