Struct debian_packaging::io::PathMappingDataResolver[][src]

pub struct PathMappingDataResolver<R> { /* fields omitted */ }
Expand description

A DataResolver that maintains a path translation table and transparently redirects lookups.

Implementations

Construct a new instance that forwards to a source DataResolver.

Register a mapping of 1 path to another.

Future looks up from_path will resolve to to_path.

Trait Implementations

Get the content of a relative path as an async reader. Read more

Obtain a reader that performs content integrity checking. Read more

Get the content of a relative path with decompression transparently applied.

Like Self::get_path_decoded() but also perform content integrity verification. 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

Performs the conversion.

Should always be Self

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.

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more