pub struct EndpointError {
pub errors: Vec<String>,
}
Expand description
Represents the format that the Vault server uses when returning errors. This structure is usually accompanied with HTTP error response codes like 404 or 500 in the content body. It is parsed and returned as a ClientError::APIError.
Fields§
§errors: Vec<String>
Trait Implementations§
source§impl Debug for EndpointError
impl Debug for EndpointError
source§impl<'de> Deserialize<'de> for EndpointError
impl<'de> Deserialize<'de> for EndpointError
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for EndpointError
impl RefUnwindSafe for EndpointError
impl Send for EndpointError
impl Sync for EndpointError
impl Unpin for EndpointError
impl UnwindSafe for EndpointError
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