Trait s2n_quic_core::number::UpcastFrom
source · [−]pub trait UpcastFrom<T> {
fn upcast_from(value: T) -> Self;
}
Expand description
Losslessly upcasts from one type to another
pub trait UpcastFrom<T> {
fn upcast_from(value: T) -> Self;
}
Losslessly upcasts from one type to another