Skip to main content

record_location

Function record_location 

Source
pub async fn record_location(
    database: &StoreDatabase,
    location: RecordedLocation<StorageConfig>,
    finished: Option<SystemTime>,
) -> Result<(), SyncError>
Expand description

Write whether a storage location is recorded here and its credentials held, with the location and its labels, as setup, a change of credentials, a connection’s new label or releasing a connection finds it; finished, for setup, is when it read the store to its end. A failure fails the store’s handle with its cause.