pub type DowncastResult<'a, F, T> = Result<Handle<'a, T>, DowncastError<F, T>>;
Expand description
The result of a call to Handle::downcast()
.
Aliased Type§
enum DowncastResult<'a, F, T> {
Ok(Handle<'a, T>),
Err(DowncastError<F, T>),
}
Variants§
Ok(Handle<'a, T>)
Contains the success value
Err(DowncastError<F, T>)
Contains the error value