pub struct Error { /* private fields */ }
Expand description
Error from an OpenStack call.
Implementations
Trait Implementations
sourceimpl Error for Error
impl Error for Error
sourcefn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
sourcefn cause(&self) -> Option<&dyn Error>
fn cause(&self) -> Option<&dyn Error>
👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
sourceimpl From<Error> for Error
impl From<Error> for Error
sourcefn from(value: HttpClientError) -> Error
fn from(value: HttpClientError) -> Error
Converts to this type from the input type.
sourceimpl From<ParseError> for Error
impl From<ParseError> for Error
sourceimpl<T: Refresh + Debug> Waiter<(), Error> for DeletionWaiter<T>
impl<T: Refresh + Debug> Waiter<(), Error> for DeletionWaiter<T>
sourcefn default_wait_timeout(&self) -> Option<Duration>
fn default_wait_timeout(&self) -> Option<Duration>
Default timeout for this action. Read more
sourcefn default_delay(&self) -> Duration
fn default_delay(&self) -> Duration
Default delay between two retries.
sourcefn timeout_error(&self) -> Error
fn timeout_error(&self) -> Error
Error to return on timeout.
sourcefn wait_for(self, duration: Duration) -> Result<T, E>where
Self: Sized,
fn wait_for(self, duration: Duration) -> Result<T, E>where
Self: Sized,
Wait for specified amount of time. Read more
sourcefn wait_for_with_delay(self, duration: Duration, delay: Duration) -> Result<T, E>where
Self: Sized,
fn wait_for_with_delay(self, duration: Duration, delay: Duration) -> Result<T, E>where
Self: Sized,
Wait for specified amount of time.
sourcefn wait_forever(self) -> Result<T, E>where
Self: Sized,
fn wait_forever(self) -> Result<T, E>where
Self: Sized,
Wait forever.
sourcefn wait_forever_with_delay(self, delay: Duration) -> Result<T, E>where
Self: Sized,
fn wait_forever_with_delay(self, delay: Duration) -> Result<T, E>where
Self: Sized,
Wait forever with given delay between attempts.
sourceimpl<'server> Waiter<(), Error> for ServerStatusWaiter<'server>
impl<'server> Waiter<(), Error> for ServerStatusWaiter<'server>
sourcefn default_wait_timeout(&self) -> Option<Duration>
fn default_wait_timeout(&self) -> Option<Duration>
Default timeout for this action. Read more
sourcefn default_delay(&self) -> Duration
fn default_delay(&self) -> Duration
Default delay between two retries.
sourcefn timeout_error(&self) -> Error
fn timeout_error(&self) -> Error
Error to return on timeout.
sourcefn wait_for(self, duration: Duration) -> Result<T, E>where
Self: Sized,
fn wait_for(self, duration: Duration) -> Result<T, E>where
Self: Sized,
Wait for specified amount of time. Read more
sourcefn wait_for_with_delay(self, duration: Duration, delay: Duration) -> Result<T, E>where
Self: Sized,
fn wait_for_with_delay(self, duration: Duration, delay: Duration) -> Result<T, E>where
Self: Sized,
Wait for specified amount of time.
sourcefn wait_forever(self) -> Result<T, E>where
Self: Sized,
fn wait_forever(self) -> Result<T, E>where
Self: Sized,
Wait forever.
sourcefn wait_forever_with_delay(self, delay: Duration) -> Result<T, E>where
Self: Sized,
fn wait_forever_with_delay(self, delay: Duration) -> Result<T, E>where
Self: Sized,
Wait forever with given delay between attempts.
sourceimpl Waiter<Server, Error> for ServerCreationWaiter
impl Waiter<Server, Error> for ServerCreationWaiter
sourcefn default_wait_timeout(&self) -> Option<Duration>
fn default_wait_timeout(&self) -> Option<Duration>
Default timeout for this action. Read more
sourcefn default_delay(&self) -> Duration
fn default_delay(&self) -> Duration
Default delay between two retries.
sourcefn timeout_error(&self) -> Error
fn timeout_error(&self) -> Error
Error to return on timeout.
sourcefn wait_for(self, duration: Duration) -> Result<T, E>where
Self: Sized,
fn wait_for(self, duration: Duration) -> Result<T, E>where
Self: Sized,
Wait for specified amount of time. Read more
sourcefn wait_for_with_delay(self, duration: Duration, delay: Duration) -> Result<T, E>where
Self: Sized,
fn wait_for_with_delay(self, duration: Duration, delay: Duration) -> Result<T, E>where
Self: Sized,
Wait for specified amount of time.
sourcefn wait_forever(self) -> Result<T, E>where
Self: Sized,
fn wait_forever(self) -> Result<T, E>where
Self: Sized,
Wait forever.
sourcefn wait_forever_with_delay(self, delay: Duration) -> Result<T, E>where
Self: Sized,
fn wait_forever_with_delay(self, delay: Duration) -> Result<T, E>where
Self: Sized,
Wait forever with given delay between attempts.
Auto Trait Implementations
impl RefUnwindSafe for Error
impl Send for Error
impl Sync for Error
impl Unpin for Error
impl UnwindSafe for Error
Blanket Implementations
impl<T> AsFail for Twhere
T: Fail,
impl<T> AsFail for Twhere
T: Fail,
fn as_fail(&self) -> &(dyn Fail + 'static)
fn as_fail(&self) -> &(dyn Fail + 'static)
Converts a reference to
Self
into a dynamic trait object of Fail
.sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
impl<E> Fail for Ewhere
E: 'static + Error + Send + Sync,
impl<E> Fail for Ewhere
E: 'static + Error + Send + Sync,
fn cause(&self) -> Option<&(dyn Fail + 'static)>
fn cause(&self) -> Option<&(dyn Fail + 'static)>
Returns a reference to the underlying cause of this failure, if it
is an error that wraps other errors. Read more
fn backtrace(&self) -> Option<&Backtrace>
fn backtrace(&self) -> Option<&Backtrace>
Returns a reference to the
Backtrace
carried by this failure, if it
carries one. Read more