hydro2_operator/
port_try_from.rs1crate::ix!();
3
4pub trait PortTryFrom0<Src>: Sized {
6 type Error;
7 fn port_try_from0(src: Src) -> Result<Self, Self::Error>;
8}
9
10pub trait PortTryFrom1<Src>: Sized {
12 type Error;
13 fn port_try_from1(src: Src) -> Result<Self, Self::Error>;
14}
15
16pub trait PortTryFrom2<Src>: Sized {
18 type Error;
19 fn port_try_from2(src: Src) -> Result<Self, Self::Error>;
20}
21
22pub trait PortTryFrom3<Src>: Sized {
24 type Error;
25 fn port_try_from3(src: Src) -> Result<Self, Self::Error>;
26}