pub struct RealExecutor;Expand description
Real gcloud CLI executor.
Trait Implementations§
Source§impl GcloudExecutor for RealExecutor
impl GcloudExecutor for RealExecutor
Source§async fn exec(&self, args: &[String]) -> Result<String, GcloudError>
async fn exec(&self, args: &[String]) -> Result<String, GcloudError>
Execute a gcloud command and capture stdout.
Source§async fn exec_streaming(&self, args: &[String]) -> Result<(), GcloudError>
async fn exec_streaming(&self, args: &[String]) -> Result<(), GcloudError>
Execute a gcloud command, streaming output to the terminal.
Source§async fn exec_with_stdin(
&self,
args: &[String],
stdin_data: &[u8],
) -> Result<String, GcloudError>
async fn exec_with_stdin( &self, args: &[String], stdin_data: &[u8], ) -> Result<String, GcloudError>
Execute a gcloud command with data piped to stdin.
Auto Trait Implementations§
impl Freeze for RealExecutor
impl RefUnwindSafe for RealExecutor
impl Send for RealExecutor
impl Sync for RealExecutor
impl Unpin for RealExecutor
impl UnsafeUnpin for RealExecutor
impl UnwindSafe for RealExecutor
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