pub fn append<T: Serialize + for<'de> Deserialize<'de>>(
own: &Path,
values: &[T],
sealer: &dyn Sealer,
id_of: Option<&dyn Fn(&T) -> String>,
) -> Result<usize, String>Expand description
Lines added at the end of a device’s own file, under its lock, each
written whole (padded, sealed), those whose id the file holds already
left out (id_of; none: every line written). Returns how many were written.