pub struct EnvSync;Expand description
Main synchronization service for environment files.
Implementations§
Source§impl EnvSync
impl EnvSync
Sourcepub fn sync_with_options(options: EnvSyncOptions) -> Result<(), EnvSyncError>
pub fn sync_with_options(options: EnvSyncOptions) -> Result<(), EnvSyncError>
Synchronizes environment files using the provided options.
Creates the local file if it doesn’t exist. Returns an error if the template file doesn’t exist.
Auto Trait Implementations§
impl Freeze for EnvSync
impl RefUnwindSafe for EnvSync
impl Send for EnvSync
impl Sync for EnvSync
impl Unpin for EnvSync
impl UnwindSafe for EnvSync
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