Trait s2n_quic_core::number::Upcast
source · [−]pub trait Upcast<T> {
fn upcast(self) -> T;
}
Expand description
Losslessly upcasts one type into another
Required Methods
Implementors
impl<T, U> Upcast<T> for Uwhere
T: UpcastFrom<U>,
Implement Upcast automatically for all types that implement UpcastFrom