Skip to main content

ReplicationRuleExt

Trait ReplicationRuleExt 

Source
pub trait ReplicationRuleExt {
    // Required methods
    fn prefix(&self) -> &str;
    fn metadata_replicate(&self, obj: &ObjectOpts) -> bool;
}

Required Methods§

Source

fn prefix(&self) -> &str

Source

fn metadata_replicate(&self, obj: &ObjectOpts) -> bool

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementations on Foreign Types§

Source§

impl ReplicationRuleExt for ReplicationRule

Source§

fn prefix(&self) -> &str

The rule’s key prefix: Filter.Prefix, else Filter.And.Prefix, else the deprecated top-level Prefix of a V1 rule written without a <Filter> (backlog#2367 C-2). A rule that carries both keeps AWS’s precedence: the <Filter> is authoritative.

Source§

fn metadata_replicate(&self, obj: &ObjectOpts) -> bool

Implementors§