pub struct ConnectAPIError {
pub message: String,
pub status: String,
}Expand description
Wrapper type which contains Vault errors.
Fields§
§message: StringError message from the API.
status: StringStatus code returned by the HTTP call.
Implementations§
Trait Implementations§
Source§impl Debug for ConnectAPIError
impl Debug for ConnectAPIError
Source§impl Display for ConnectAPIError
impl Display for ConnectAPIError
Source§impl Error for ConnectAPIError
impl Error for ConnectAPIError
1.30.0 · 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 ConnectAPIError
impl RefUnwindSafe for ConnectAPIError
impl Send for ConnectAPIError
impl Sync for ConnectAPIError
impl Unpin for ConnectAPIError
impl UnsafeUnpin for ConnectAPIError
impl UnwindSafe for ConnectAPIError
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