dcl-rpc 2.3.6

Decentraland RPC Implementation
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
//! Contains the parsing methods for the errors of the current transports.
use std::{io, net::AddrParseError};

use super::TransportError;

impl From<io::Error> for TransportError {
    fn from(value: io::Error) -> Self {
        TransportError::Internal(Box::new(value))
    }
}

impl From<AddrParseError> for TransportError {
    fn from(value: AddrParseError) -> Self {
        TransportError::Internal(Box::new(value))
    }
}