pub enum GcloudError {
NotFound {
source: Error,
},
CommandFailed {
args: Vec<String>,
stderr: String,
},
InvalidUtf8 {
source: FromUtf8Error,
},
StdinWrite {
source: Error,
},
}Variants§
Trait Implementations§
Source§impl Debug for GcloudError
impl Debug for GcloudError
Source§impl Display for GcloudError
impl Display for GcloudError
Source§impl Error for GcloudError
impl Error for GcloudError
Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
Auto Trait Implementations§
impl Freeze for GcloudError
impl !RefUnwindSafe for GcloudError
impl Send for GcloudError
impl Sync for GcloudError
impl Unpin for GcloudError
impl UnsafeUnpin for GcloudError
impl !UnwindSafe for GcloudError
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