hotfix 0.12.0

Buy-side FIX engine written in pure Rust
Documentation
1
2
3
4
5
6
7
8
9
10
11
/// Errors that may occur when establishing a connection.
#[derive(Debug, thiserror::Error)]
pub enum ConnectionError {
    #[error("IO error")]
    IOError(#[from] std::io::Error),

    #[error("Invalid DNS name")]
    InvalidDnsName(#[from] rustls_pki_types::InvalidDnsNameError),
}

pub type ConnectionResult<T> = Result<T, ConnectionError>;