pub enum ReplicationStatus {
Pending,
Completed,
Failed,
Replica,
}Expand description
Per-(bucket, key) replication state, surfaced as the
x-amz-replication-status HEAD/GET response header. Values match the
AWS wire form exactly.
Variants§
Pending
Replication has been queued (a matching rule fired and the dispatcher task has been spawned) but the destination PUT has not yet succeeded.
Completed
Replication has succeeded — the replica exists in the destination bucket.
Failed
Replication failed permanently (retry budget exhausted).
Replica
Stamped on the destination side so the replica is distinguishable from a normal PUT, matching AWS CRR’s “replica stamp” behaviour.
Implementations§
Source§impl ReplicationStatus
impl ReplicationStatus
Sourcepub fn as_aws_str(&self) -> &'static str
pub fn as_aws_str(&self) -> &'static str
AWS wire-string form. Caller stamps it on the response as the
x-amz-replication-status header.
Trait Implementations§
Source§impl Clone for ReplicationStatus
impl Clone for ReplicationStatus
Source§fn clone(&self) -> ReplicationStatus
fn clone(&self) -> ReplicationStatus
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ReplicationStatus
impl Debug for ReplicationStatus
Source§impl<'de> Deserialize<'de> for ReplicationStatus
impl<'de> Deserialize<'de> for ReplicationStatus
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
Source§impl PartialEq for ReplicationStatus
impl PartialEq for ReplicationStatus
Source§fn eq(&self, other: &ReplicationStatus) -> bool
fn eq(&self, other: &ReplicationStatus) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for ReplicationStatus
impl Serialize for ReplicationStatus
impl Eq for ReplicationStatus
impl StructuralPartialEq for ReplicationStatus
Auto Trait Implementations§
impl Freeze for ReplicationStatus
impl RefUnwindSafe for ReplicationStatus
impl Send for ReplicationStatus
impl Sync for ReplicationStatus
impl Unpin for ReplicationStatus
impl UnsafeUnpin for ReplicationStatus
impl UnwindSafe for ReplicationStatus
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.