Skip to main content

SplitByRegion

Trait SplitByRegion 

Source
pub trait SplitByRegion: AccountState {
    // Required method
    fn split_by_region(self, into: &mut RegionalState<Self>);
}
Expand description

Migration of a service’s pre-regional, account-wide state into per-region states, for loading snapshots written before the service was region-partitioned.

Required Methods§

Source

fn split_by_region(self, into: &mut RegionalState<Self>)

Move every resource of this account-wide state into the region it belongs to in into: the region its ARN (or region-bearing URL) names, and the server’s default region for anything that names none (see RegionalState::region_or_default_mut).

Dyn Compatibility§

This trait is not dyn compatible.

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

Implementors§