ErrorCode

Enum ErrorCode 

Source
#[non_exhaustive]
#[repr(u32)]
pub enum ErrorCode {
Show 36 variants AWS_ERROR_S3_MISSING_CONTENT_RANGE_HEADER = 14_336, AWS_ERROR_S3_INVALID_CONTENT_RANGE_HEADER = 14_337, AWS_ERROR_S3_MISSING_CONTENT_LENGTH_HEADER = 14_338, AWS_ERROR_S3_INVALID_CONTENT_LENGTH_HEADER = 14_339, AWS_ERROR_S3_MISSING_ETAG = 14_340, AWS_ERROR_S3_INTERNAL_ERROR = 14_341, AWS_ERROR_S3_SLOW_DOWN = 14_342, AWS_ERROR_S3_INVALID_RESPONSE_STATUS = 14_343, AWS_ERROR_S3_MISSING_UPLOAD_ID = 14_344, AWS_ERROR_S3_PROXY_PARSE_FAILED = 14_345, AWS_ERROR_S3_UNSUPPORTED_PROXY_SCHEME = 14_346, AWS_ERROR_S3_CANCELED = 14_347, AWS_ERROR_S3_INVALID_RANGE_HEADER = 14_348, AWS_ERROR_S3_MULTIRANGE_HEADER_UNSUPPORTED = 14_349, AWS_ERROR_S3_RESPONSE_CHECKSUM_MISMATCH = 14_350, AWS_ERROR_S3_CHECKSUM_CALCULATION_FAILED = 14_351, AWS_ERROR_S3_PAUSED = 14_352, AWS_ERROR_S3_LIST_PARTS_PARSE_FAILED = 14_353, AWS_ERROR_S3_RESUMED_PART_CHECKSUM_MISMATCH = 14_354, AWS_ERROR_S3_RESUME_FAILED = 14_355, AWS_ERROR_S3_OBJECT_MODIFIED = 14_356, AWS_ERROR_S3_NON_RECOVERABLE_ASYNC_ERROR = 14_357, AWS_ERROR_S3_METRIC_DATA_NOT_AVAILABLE = 14_358, AWS_ERROR_S3_INCORRECT_CONTENT_LENGTH = 14_359, AWS_ERROR_S3_REQUEST_TIME_TOO_SKEWED = 14_360, AWS_ERROR_S3_FILE_MODIFIED = 14_361, AWS_ERROR_S3_EXCEEDS_MEMORY_LIMIT = 14_362, AWS_ERROR_S3_INVALID_MEMORY_LIMIT_CONFIG = 14_363, AWS_ERROR_S3EXPRESS_CREATE_SESSION_FAILED = 14_364, AWS_ERROR_S3_INTERNAL_PART_SIZE_MISMATCH_RETRYING_WITH_RANGE = 14_365, AWS_ERROR_S3_REQUEST_HAS_COMPLETED = 14_366, AWS_ERROR_S3_RECV_FILE_ALREADY_EXISTS = 14_367, AWS_ERROR_S3_RECV_FILE_NOT_FOUND = 14_368, AWS_ERROR_S3_REQUEST_TIMEOUT = 14_369, AWS_ERROR_S3_BUFFER_ALLOCATION_FAILED = 14_370, AWS_ERROR_S3_END_RANGE = 15_359,
}

Variants (Non-exhaustive)§

This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
§

AWS_ERROR_S3_MISSING_CONTENT_RANGE_HEADER = 14_336

§

AWS_ERROR_S3_INVALID_CONTENT_RANGE_HEADER = 14_337

§

AWS_ERROR_S3_MISSING_CONTENT_LENGTH_HEADER = 14_338

§

AWS_ERROR_S3_INVALID_CONTENT_LENGTH_HEADER = 14_339

§

AWS_ERROR_S3_MISSING_ETAG = 14_340

§

AWS_ERROR_S3_INTERNAL_ERROR = 14_341

§

AWS_ERROR_S3_SLOW_DOWN = 14_342

§

AWS_ERROR_S3_INVALID_RESPONSE_STATUS = 14_343

§

AWS_ERROR_S3_MISSING_UPLOAD_ID = 14_344

§

AWS_ERROR_S3_PROXY_PARSE_FAILED = 14_345

§

AWS_ERROR_S3_UNSUPPORTED_PROXY_SCHEME = 14_346

§

AWS_ERROR_S3_CANCELED = 14_347

§

AWS_ERROR_S3_INVALID_RANGE_HEADER = 14_348

§

AWS_ERROR_S3_MULTIRANGE_HEADER_UNSUPPORTED = 14_349

§

AWS_ERROR_S3_RESPONSE_CHECKSUM_MISMATCH = 14_350

§

AWS_ERROR_S3_CHECKSUM_CALCULATION_FAILED = 14_351

§

AWS_ERROR_S3_PAUSED = 14_352

§

AWS_ERROR_S3_LIST_PARTS_PARSE_FAILED = 14_353

§

AWS_ERROR_S3_RESUMED_PART_CHECKSUM_MISMATCH = 14_354

§

AWS_ERROR_S3_RESUME_FAILED = 14_355

§

AWS_ERROR_S3_OBJECT_MODIFIED = 14_356

§

AWS_ERROR_S3_NON_RECOVERABLE_ASYNC_ERROR = 14_357

§

AWS_ERROR_S3_METRIC_DATA_NOT_AVAILABLE = 14_358

§

AWS_ERROR_S3_INCORRECT_CONTENT_LENGTH = 14_359

§

AWS_ERROR_S3_REQUEST_TIME_TOO_SKEWED = 14_360

§

AWS_ERROR_S3_FILE_MODIFIED = 14_361

§

AWS_ERROR_S3_EXCEEDS_MEMORY_LIMIT = 14_362

§

AWS_ERROR_S3_INVALID_MEMORY_LIMIT_CONFIG = 14_363

§

AWS_ERROR_S3EXPRESS_CREATE_SESSION_FAILED = 14_364

§

AWS_ERROR_S3_INTERNAL_PART_SIZE_MISMATCH_RETRYING_WITH_RANGE = 14_365

§

AWS_ERROR_S3_REQUEST_HAS_COMPLETED = 14_366

§

AWS_ERROR_S3_RECV_FILE_ALREADY_EXISTS = 14_367

§

AWS_ERROR_S3_RECV_FILE_NOT_FOUND = 14_368

§

AWS_ERROR_S3_REQUEST_TIMEOUT = 14_369

§

AWS_ERROR_S3_BUFFER_ALLOCATION_FAILED = 14_370

§

AWS_ERROR_S3_END_RANGE = 15_359

Trait Implementations§

Source§

impl Clone for aws_s3_errors

Source§

fn clone(&self) -> aws_s3_errors

Returns a duplicate of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for aws_s3_errors

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
Source§

impl Hash for aws_s3_errors

Source§

fn hash<__H>(&self, state: &mut __H)
where __H: Hasher,

Feeds this value into the given Hasher. Read more
1.3.0 · Source§

fn hash_slice<H>(data: &[Self], state: &mut H)
where H: Hasher, Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
Source§

impl PartialEq for aws_s3_errors

Source§

fn eq(&self, other: &aws_s3_errors) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl Copy for aws_s3_errors

Source§

impl Eq for aws_s3_errors

Source§

impl StructuralPartialEq for aws_s3_errors

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.