[−][src]Trait ibc::try_from_raw::TryFromRaw
TryFromRaw trait needs to implement a try_from() function and an Error type for the return of that function.
Associated Types
type RawType: Message + Default
RawType defines the prost-compiled protobuf-defined Rust struct
type Error: Into<Box<dyn StdError + Send + Sync + 'static>>
Error defines the error type returned from validation.
Required methods
fn try_from(value: Self::RawType) -> Result<Self, Self::Error>
try_from function will validate the incoming RawType and convert it to our domain type