Skip to main content

StorageErrorCode

Enum StorageErrorCode 

Source
pub enum StorageErrorCode {
Show 117 variants AccountAlreadyExists, AccountBeingCreated, AccountIsDisabled, AppendPositionConditionNotMet, AuthenticationFailed, AuthorizationFailure, AuthorizationPermissionMismatch, AuthorizationProtocolMismatch, AuthorizationResourceTypeMismatch, AuthorizationServiceMismatch, AuthorizationSourceIPMismatch, BlobAccessTierNotSupportedForAccountType, BlobAlreadyExists, BlobArchived, BlobBeingRehydrated, BlobImmutableDueToPolicy, BlobNotArchived, BlobNotFound, BlobOverwritten, BlobTierInadequateForContentLength, BlobUsesCustomerSpecifiedEncryption, BlockCountExceedsLimit, BlockListTooLong, CannotChangeToLowerTier, CannotVerifyCopySource, ConditionHeadersNotSupported, ConditionNotMet, ContainerAlreadyExists, ContainerBeingDeleted, ContainerDisabled, ContainerNotFound, ContentLengthLargerThanTierLimit, CopyAcrossAccountsNotSupported, CopyIdMismatch, EmptyMetadataKey, FeatureVersionMismatch, IncrementalCopyBlobMismatch, IncrementalCopyOfEarlierSnapshotNotAllowed, IncrementalCopyOfEarlierVersionSnapshotNotAllowed, IncrementalCopySourceMustBeSnapshot, InfiniteLeaseDurationRequired, InsufficientAccountPermissions, InternalError, InvalidAuthenticationInfo, InvalidBlobOrBlock, InvalidBlobTier, InvalidBlobType, InvalidBlockId, InvalidBlockList, InvalidHeaderValue, InvalidHttpVerb, InvalidInput, InvalidMd5, InvalidMetadata, InvalidOperation, InvalidPageRange, InvalidQueryParameterValue, InvalidRange, InvalidRequestUrl, InvalidResourceName, InvalidSourceBlobType, InvalidSourceBlobUrl, InvalidUri, InvalidVersionForPageBlobOperation, InvalidXmlDocument, InvalidXmlNodeValue, LeaseAlreadyBroken, LeaseAlreadyPresent, LeaseIdMismatchWithBlobOperation, LeaseIdMismatchWithContainerOperation, LeaseIdMismatchWithLeaseOperation, LeaseIdMissing, LeaseIsBreakingAndCannotBeAcquired, LeaseIsBreakingAndCannotBeChanged, LeaseIsBrokenAndCannotBeRenewed, LeaseLost, LeaseNotPresentWithBlobOperation, LeaseNotPresentWithContainerOperation, LeaseNotPresentWithLeaseOperation, MaxBlobSizeConditionNotMet, Md5Mismatch, MetadataTooLarge, MissingContentLengthHeader, MissingRequiredHeader, MissingRequiredQueryParameter, MissingRequiredXmlNode, MultipleConditionHeadersNotSupported, NoAuthenticationInformation, NoPendingCopyOperation, OperationNotAllowedOnIncrementalCopyBlob, OperationTimedOut, OutOfRangeInput, OutOfRangeQueryParameterValue, PendingCopyOperation, PreviousSnapshotCannotBeNewer, PreviousSnapshotNotFound, PreviousSnapshotOperationNotSupported, RequestBodyTooLarge, RequestUrlFailedToParse, ResourceAlreadyExists, ResourceNotFound, ResourceTypeMismatch, SequenceNumberConditionNotMet, SequenceNumberIncrementTooLarge, ServerBusy, SnapshotCountExceeded, SnapshotOperationRateExceeded, SnapshotsPresent, SourceConditionNotMet, SystemInUse, TargetConditionNotMet, UnauthorizedBlobOverwrite, UnsupportedHeader, UnsupportedHttpVerb, UnsupportedQueryParameter, UnsupportedXmlNode, UnknownValue(String),
}
Expand description

Error codes returned by the Azure Blob Storage service.

Variants§

§

AccountAlreadyExists

Account already exists.

§

AccountBeingCreated

Account is being created.

§

AccountIsDisabled

Account is disabled.

§

AppendPositionConditionNotMet

Append position condition not met.

§

AuthenticationFailed

Authentication failed.

§

AuthorizationFailure

Authorization failure.

§

AuthorizationPermissionMismatch

Authorization permission mismatch.

§

AuthorizationProtocolMismatch

Authorization protocol mismatch.

§

AuthorizationResourceTypeMismatch

Authorization resource type mismatch.

§

AuthorizationServiceMismatch

Authorization service mismatch.

§

AuthorizationSourceIPMismatch

Authorization source IP mismatch.

§

BlobAccessTierNotSupportedForAccountType

Blob access tier not supported for account type.

§

BlobAlreadyExists

Blob already exists.

§

BlobArchived

Blob archived.

§

BlobBeingRehydrated

Blob being rehydrated.

§

BlobImmutableDueToPolicy

Blob is immutable due to policy.

§

BlobNotArchived

Blob not archived.

§

BlobNotFound

Blob not found.

§

BlobOverwritten

Blob overwritten.

§

BlobTierInadequateForContentLength

Blob tier inadequate for content length.

§

BlobUsesCustomerSpecifiedEncryption

Blob uses customer specified encryption.

§

BlockCountExceedsLimit

Block count exceeds limit.

§

BlockListTooLong

Block list too long.

§

CannotChangeToLowerTier

Cannot change to lower tier.

§

CannotVerifyCopySource

Cannot verify copy source.

§

ConditionHeadersNotSupported

Condition headers not supported.

§

ConditionNotMet

Condition not met.

§

ContainerAlreadyExists

Container already exists.

§

ContainerBeingDeleted

Container being deleted.

§

ContainerDisabled

Container disabled.

§

ContainerNotFound

Container not found.

§

ContentLengthLargerThanTierLimit

Content length larger than tier limit.

§

CopyAcrossAccountsNotSupported

Copy across accounts not supported.

§

CopyIdMismatch

Copy ID mismatch.

§

EmptyMetadataKey

Empty metadata key.

§

FeatureVersionMismatch

Feature version mismatch.

§

IncrementalCopyBlobMismatch

Incremental copy blob mismatch.

§

IncrementalCopyOfEarlierSnapshotNotAllowed

Incremental copy of an earlier snapshot is not allowed.

§

IncrementalCopyOfEarlierVersionSnapshotNotAllowed

Incremental copy of an earlier version snapshot is not allowed.

§

IncrementalCopySourceMustBeSnapshot

Incremental copy source must be snapshot.

§

InfiniteLeaseDurationRequired

Infinite lease duration required.

§

InsufficientAccountPermissions

Insufficient account permissions.

§

InternalError

Internal error.

§

InvalidAuthenticationInfo

Invalid authentication information.

§

InvalidBlobOrBlock

Invalid blob or block.

§

InvalidBlobTier

Invalid blob tier.

§

InvalidBlobType

Invalid blob type.

§

InvalidBlockId

Invalid block ID.

§

InvalidBlockList

Invalid block list.

§

InvalidHeaderValue

Invalid header value.

§

InvalidHttpVerb

Invalid HTTP verb.

§

InvalidInput

Invalid input.

§

InvalidMd5

Invalid MD5.

§

InvalidMetadata

Invalid metadata.

§

InvalidOperation

Invalid operation.

§

InvalidPageRange

Invalid page range.

§

InvalidQueryParameterValue

Invalid query parameter value.

§

InvalidRange

Invalid range.

§

InvalidRequestUrl

Invalid request URL.

§

InvalidResourceName

Invalid resource name.

§

InvalidSourceBlobType

Invalid source blob type.

§

InvalidSourceBlobUrl

Invalid source blob URL.

§

InvalidUri

Invalid URI.

§

InvalidVersionForPageBlobOperation

Invalid version for page blob operation.

§

InvalidXmlDocument

Invalid XML document.

§

InvalidXmlNodeValue

Invalid XML node value.

§

LeaseAlreadyBroken

Lease already broken.

§

LeaseAlreadyPresent

Lease already present.

§

LeaseIdMismatchWithBlobOperation

Lease ID mismatch with blob operation.

§

LeaseIdMismatchWithContainerOperation

Lease ID mismatch with container operation.

§

LeaseIdMismatchWithLeaseOperation

Lease ID mismatch with lease operation.

§

LeaseIdMissing

Lease ID missing.

§

LeaseIsBreakingAndCannotBeAcquired

Lease is breaking and cannot be acquired.

§

LeaseIsBreakingAndCannotBeChanged

Lease is breaking and cannot be changed.

§

LeaseIsBrokenAndCannotBeRenewed

Lease is broken and cannot be renewed.

§

LeaseLost

Lease lost.

§

LeaseNotPresentWithBlobOperation

Lease not present with blob operation.

§

LeaseNotPresentWithContainerOperation

Lease not present with container operation.

§

LeaseNotPresentWithLeaseOperation

Lease not present with lease operation.

§

MaxBlobSizeConditionNotMet

Maximum blob size condition not met.

§

Md5Mismatch

MD5 mismatch.

§

MetadataTooLarge

Metadata too large.

§

MissingContentLengthHeader

Missing content length header.

§

MissingRequiredHeader

Missing required header.

§

MissingRequiredQueryParameter

Missing required query parameter.

§

MissingRequiredXmlNode

Missing required XML node.

§

MultipleConditionHeadersNotSupported

Multiple condition headers not supported.

§

NoAuthenticationInformation

No authentication information.

§

NoPendingCopyOperation

No pending copy operation.

§

OperationNotAllowedOnIncrementalCopyBlob

Operation not allowed on incremental copy blob.

§

OperationTimedOut

Operation timed out.

§

OutOfRangeInput

Out of range input.

§

OutOfRangeQueryParameterValue

Out of range query parameter value.

§

PendingCopyOperation

Pending copy operation.

§

PreviousSnapshotCannotBeNewer

Previous snapshot cannot be newer.

§

PreviousSnapshotNotFound

Previous snapshot not found.

§

PreviousSnapshotOperationNotSupported

Previous snapshot operation not supported.

§

RequestBodyTooLarge

Request body too large.

§

RequestUrlFailedToParse

Request URL failed to parse.

§

ResourceAlreadyExists

Resource already exists.

§

ResourceNotFound

Resource not found.

§

ResourceTypeMismatch

Resource type mismatch.

§

SequenceNumberConditionNotMet

Sequence number condition not met.

§

SequenceNumberIncrementTooLarge

Sequence number increment too large.

§

ServerBusy

Server busy.

§

SnapshotCountExceeded

Snapshot count exceeded.

§

SnapshotOperationRateExceeded

Snapshot operation rate exceeded.

§

SnapshotsPresent

Snapshots present.

§

SourceConditionNotMet

Source condition not met.

§

SystemInUse

System in use.

§

TargetConditionNotMet

Target condition not met.

§

UnauthorizedBlobOverwrite

Unauthorized blob overwrite.

§

UnsupportedHeader

Unsupported header.

§

UnsupportedHttpVerb

Unsupported HTTP verb.

§

UnsupportedQueryParameter

Unsupported query parameter.

§

UnsupportedXmlNode

Unsupported XML node.

§

UnknownValue(String)

Any other value not defined in StorageErrorCode.

Trait Implementations§

Source§

impl AsRef<str> for StorageErrorCode

Source§

fn as_ref(&self) -> &str

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl Clone for StorageErrorCode

Source§

fn clone(&self) -> StorageErrorCode

Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§

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

Performs copy-assignment from source. Read more
Source§

impl Debug for StorageErrorCode

Source§

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

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

impl<'de> Deserialize<'de> for StorageErrorCode

Source§

fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>
where D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
Source§

impl Display for StorageErrorCode

Source§

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

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

impl Eq for StorageErrorCode

Source§

impl<'a> From<&'a StorageErrorCode> for &'a str

Source§

fn from(e: &'a StorageErrorCode) -> Self

Converts to this type from the input type.
Source§

impl FromStr for StorageErrorCode

Source§

type Err = !

The associated error which can be returned from parsing.
Source§

fn from_str(s: &str) -> Result<Self, <Self as FromStr>::Err>

Parses a string s to return a value of this type. Read more
Source§

impl PartialEq for StorageErrorCode

Source§

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

Equality operator ==. Read more
1.0.0 (const: unstable) · Source§

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

Inequality operator !=. Read more
Source§

impl Serialize for StorageErrorCode

Source§

fn serialize<S>(&self, s: S) -> Result<S::Ok, S::Error>
where S: Serializer,

Serialize this value into the given Serde serializer. Read more
Source§

impl StructuralPartialEq for StorageErrorCode

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> DeserializeOwned for T
where T: for<'de> Deserialize<'de>,

Source§

impl<D> DeserializeWith<JsonFormat> for D

Source§

fn deserialize_with(body: ResponseBody) -> Result<D, Error>

Deserialize the response body using the specified format. Read more
Source§

impl<D> DeserializeWith<XmlFormat> for D

Source§

fn deserialize_with(body: ResponseBody) -> Result<D, Error>

Deserialize the response body using the specified format. Read more
Source§

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

Source§

fn __clone_box(&self, _: Private) -> *mut ()

Source§

impl<Q, K> Equivalent<K> for Q
where Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,

Source§

fn equivalent(&self, key: &K) -> bool

Checks if this value is equivalent to the given key. Read more
Source§

impl<Q, K> Equivalent<K> for Q
where Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,

Source§

fn equivalent(&self, key: &K) -> bool

Compare self to key and return true if they are equal.
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T> Instrument for T

Source§

fn instrument(self, span: Span) -> Instrumented<Self> ⓘ

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
Source§

fn in_current_span(self) -> Instrumented<Self> ⓘ

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
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> PolicyExt for T
where T: ?Sized,

Source§

fn and<P, B, E>(self, other: P) -> And<T, P>
where T: Sized + Policy<B, E>, P: Policy<B, E>,

Create a new Policy that returns Action::Follow only if self and other return Action::Follow. Read more
Source§

fn or<P, B, E>(self, other: P) -> Or<T, P>
where T: Sized + Policy<B, E>, P: Policy<B, E>,

Create a new Policy that returns Action::Follow if either self or other returns Action::Follow. Read more
Source§

impl<T> Same for T

Source§

type Output = T

Should always be Self
Source§

impl<T> ServiceExt for T

Source§

fn map_response_body<F>(self, f: F) -> MapResponseBody<Self, F>
where Self: Sized,

Apply a transformation to the response body. Read more
Source§

fn decompression(self) -> Decompression<Self>
where Self: Sized,

Decompress response bodies. Read more
Source§

fn trace_for_http(self) -> Trace<Self, SharedClassifier<ServerErrorsAsFailures>>
where Self: Sized,

High level tracing that classifies responses using HTTP status codes. Read more
Source§

fn trace_for_grpc(self) -> Trace<Self, SharedClassifier<GrpcErrorsAsFailures>>
where Self: Sized,

High level tracing that classifies responses using gRPC headers. Read more
Source§

fn follow_redirects(self) -> FollowRedirect<Self>
where Self: Sized,

Follow redirect resposes using the Standard policy. Read more
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> ToString for T
where T: Display + ?Sized,

Source§

fn to_string(&self) -> String

Converts the given value to a String. Read more
Source§

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

Source§

type Error = !

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

fn try_from(value: U) -> Result<T, !>

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.
Source§

impl<V, T> VZip<V> for T
where V: MultiLane<T>,

Source§

fn vzip(self) -> V

Source§

impl<T> WithSubscriber for T

Source§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> ⓘ
where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
Source§

fn with_current_subscriber(self) -> WithDispatch<Self> ⓘ

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more