pub struct ErrorMetadata {
pub client_error_meta: ClientErrorMetadata,
pub error_code: Option<String>,
pub s3_bucket_name: Option<String>,
pub s3_object_key: Option<String>,
}Expand description
Additional data about an error to be reported in the event log when operation fails. This includes info fetched from S3 response and info provided with the request.
Fields§
§client_error_meta: ClientErrorMetadataAdditional data fetched from S3 response, which caused an error
error_code: Option<String>A code identifying the error, assigned in mountpoint-s3 crate, e.g. “error.client”
s3_bucket_name: Option<String>Bucket with which the fuse operation was associated
s3_object_key: Option<String>Key with which the fuse operation was associated
Trait Implementations§
Source§impl Clone for ErrorMetadata
impl Clone for ErrorMetadata
Source§fn clone(&self) -> ErrorMetadata
fn clone(&self) -> ErrorMetadata
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ErrorMetadata
impl Debug for ErrorMetadata
Source§impl Default for ErrorMetadata
impl Default for ErrorMetadata
Source§fn default() -> ErrorMetadata
fn default() -> ErrorMetadata
Returns the “default value” for a type. Read more
Source§impl PartialEq for ErrorMetadata
impl PartialEq for ErrorMetadata
impl StructuralPartialEq for ErrorMetadata
Auto Trait Implementations§
impl Freeze for ErrorMetadata
impl RefUnwindSafe for ErrorMetadata
impl Send for ErrorMetadata
impl Sync for ErrorMetadata
impl Unpin for ErrorMetadata
impl UnsafeUnpin for ErrorMetadata
impl UnwindSafe for ErrorMetadata
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