Struct rustsec::database::Database[][src]

pub struct Database { /* fields omitted */ }
Expand description

Database of RustSec security advisories, indexed both by ID and collection

Implementations

Open Database located at the given local path

Load Database from the given git::Repository

Fetch the default advisory database from GitHub

Look up an advisory by an advisory ID (e.g. “RUSTSEC-YYYY-XXXX”)

Query the database according to the given query object

Find vulnerabilities in the provided Lockfile which match a given query.

Scan for vulnerabilities in the provided Lockfile.

Iterate over all of the advisories in the database

Get information about the latest commit to the repo

Trait Implementations

Formats the value using the given formatter. Read more

The type of the elements being iterated over.

Which kind of iterator are we turning this into?

Creates an iterator from a value. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.