pub trait TryFromBlockResponse<N>where
    N: Network,{
    type Error: Error + Send + Sync + Unpin;
    // Required method
    fn from_block_response(
        block_response: <N as Network>::BlockResponse,
    ) -> Result<Self, Self::Error>
       where Self: Sized;
}Available on crate feature 
rpc only.Expand description
Trait for converting network block responses to primitive block types.