pub struct BackendWithGlobalOptions<Back: Backend> { /* private fields */ }
Expand description

A wrapper for Backend / IpfsApi that adds global options

Implementations

Return the wrapped Backend

Construct

While possible, it is not recommended to wrap a Backend twice.

Trait Implementations

Builds the url for an api call. Read more

Get the value of a header from an HTTP response. Read more

Generates a request, and returns the unprocessed response future. Read more

Generic method for making a request that expects back a streaming response. Read more

Builds an Api error from a response body. Read more

Processes a response that expects a json encoded body, returning an error or a deserialized json response. Read more

Processes a response that returns a stream of json deserializable results. Read more

Generic method for making a request to the Ipfs server, and getting a deserializable response. Read more

Generic method for making a request to the Ipfs server, and getting back a response with no body. Read more

Generic method for making a request to the Ipfs server, and getting back a raw String response. Read more

Generic method for making a request to the Ipfs server, and getting back a raw stream of bytes. Read more

Generic method to return a streaming response of deserialized json objects delineated by new line separators. 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

Returns the argument unchanged.

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

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

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