Trait WriteDeps

Source
trait WriteDeps<T: Serialize, K: VerifiedName> {
    type Error;

    // Required method
    fn write_dep(
        &self,
        key: K,
        doc: &mut TypedDocument<T>,
    ) -> Result<(), Self::Error>;
}
Expand description

A trait for writing dependencies to a mutable TOML document representing an Atom manifest.

Required Associated Types§

Source

type Error

The error type returned by the methods.

Required Methods§

Source

fn write_dep( &self, key: K, doc: &mut TypedDocument<T>, ) -> Result<(), Self::Error>

Writes the dependency to the given TOML document.

Implementors§