pub struct EndpointRedirectionsHandler { /* private fields */ }Expand description
Handler for dynamic endpoint redirection operations.
Implementations§
Source§impl EndpointRedirectionsHandler
impl EndpointRedirectionsHandler
Sourcepub fn new(client: CloudClient) -> Self
pub fn new(client: CloudClient) -> Self
Create an endpoint redirections handler.
Sourcepub async fn create(
&self,
request: &CreateEndpointsRedirectionRequest,
) -> Result<EndpointsRedirectionResponse>
pub async fn create( &self, request: &CreateEndpointsRedirectionRequest, ) -> Result<EndpointsRedirectionResponse>
Start a dynamic endpoint redirection.
Sourcepub async fn get(
&self,
redirection_id: &str,
) -> Result<EndpointsRedirectionResponse>
pub async fn get( &self, redirection_id: &str, ) -> Result<EndpointsRedirectionResponse>
Get the current state of a dynamic endpoint redirection.
Sourcepub async fn revert(
&self,
redirection_id: &str,
) -> Result<EndpointsRedirectionResponse>
pub async fn revert( &self, redirection_id: &str, ) -> Result<EndpointsRedirectionResponse>
Revert a completed dynamic endpoint redirection.
Auto Trait Implementations§
impl !RefUnwindSafe for EndpointRedirectionsHandler
impl !UnwindSafe for EndpointRedirectionsHandler
impl Freeze for EndpointRedirectionsHandler
impl Send for EndpointRedirectionsHandler
impl Sync for EndpointRedirectionsHandler
impl Unpin for EndpointRedirectionsHandler
impl UnsafeUnpin for EndpointRedirectionsHandler
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