pub struct CloudPeeringHandler { /* private fields */ }
Expand description
Handler for Cloud peering operations
Implementations§
Source§impl CloudPeeringHandler
impl CloudPeeringHandler
pub fn new(client: CloudClient) -> Self
Sourcepub async fn list(&self, subscription_id: u32) -> Result<Vec<CloudPeering>>
pub async fn list(&self, subscription_id: u32) -> Result<Vec<CloudPeering>>
List all peerings for a subscription
Sourcepub async fn create(
&self,
request: CreatePeeringRequest,
) -> Result<CloudPeering>
pub async fn create( &self, request: CreatePeeringRequest, ) -> Result<CloudPeering>
Create a new peering
Auto Trait Implementations§
impl Freeze for CloudPeeringHandler
impl !RefUnwindSafe for CloudPeeringHandler
impl Send for CloudPeeringHandler
impl Sync for CloudPeeringHandler
impl Unpin for CloudPeeringHandler
impl !UnwindSafe for CloudPeeringHandler
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