pub struct ReplicaConfig {
pub app_name: String,
pub root: PathBuf,
pub device_id: GrainId,
pub max_file_size: u64,
pub store_path: PathBuf,
pub staging_dir: PathBuf,
}Expand description
How a replica is set up.
Fields§
§app_name: String§root: PathBuf§device_id: GrainIdRecorded as Entry::author on local writes.
max_file_size: u64§store_path: PathBuf§staging_dir: PathBufImplementations§
Trait Implementations§
Source§impl Clone for ReplicaConfig
impl Clone for ReplicaConfig
Auto Trait Implementations§
impl Forget for ReplicaConfig
impl Freeze for ReplicaConfig
impl Move for ReplicaConfig
impl RefUnwindSafe for ReplicaConfig
impl Send for ReplicaConfig
impl Sync for ReplicaConfig
impl Unpin for ReplicaConfig
impl UnsafeUnpin for ReplicaConfig
impl UnwindSafe for ReplicaConfig
Blanket Implementations§
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