pub struct WithInstanceId<T> { /* private fields */ }
Expand description

An ErrorType which wraps another and overrides its instance ID.

Trait Implementations§

Returns the error’s code.
Returns the error’s name. Read more
Returns the error’s instance ID, if it stores one. Read more
Returns a sorted slice of the names of the error’s safe parameters.
Wraps the error in another that overrides its instance ID.
Serialize this value into the given Serde serializer. 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.

Calls U::from(self).

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

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.