pub struct Ec2Client<'a> { /* private fields */ }Implementations§
Source§impl Ec2Client<'_>
impl Ec2Client<'_>
Sourcepub async fn get_instances(&self) -> Result<Ec2InstancesResponse, Error>
pub async fn get_instances(&self) -> Result<Ec2InstancesResponse, Error>
List fakecloud-managed EC2 instances with control-plane metadata.
Sourcepub async fn get_instance_networks(
&self,
) -> Result<Ec2InstanceNetworksResponse, Error>
pub async fn get_instance_networks( &self, ) -> Result<Ec2InstanceNetworksResponse, Error>
Inspect the real backing network of each EC2 instance — which Docker/Podman network or k8s NetworkPolicy backs it, its container IP, and whether security-group enforcement is active or degraded. A debugging aid for “why can’t X reach Y” (issue #1745).
Auto Trait Implementations§
impl<'a> !RefUnwindSafe for Ec2Client<'a>
impl<'a> !UnwindSafe for Ec2Client<'a>
impl<'a> Freeze for Ec2Client<'a>
impl<'a> Send for Ec2Client<'a>
impl<'a> Sync for Ec2Client<'a>
impl<'a> Unpin for Ec2Client<'a>
impl<'a> UnsafeUnpin for Ec2Client<'a>
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