pub fn new(url: Url, waypoint: Waypoint) -> Result<Self> {
        let initial_trusted_state = TrustedState::from(waypoint);
        let client = JsonRpcClient::new(url)?;
        Ok(LibraClient {
            client,
            trusted_state: initial_trusted_state,
            latest_epoch_change_li: None,
        })
    }
/// Construct a new Client instance.
Construct a new Client instance.
Construct a new Client instance .
pub fn new(url: Url, waypoint: Waypoint) -> Result<Self> {
        let initial_trusted_state = TrustedState::from(waypoint);
        let client = JsonRpcClient::new(url)?;
        Ok(LibraClient {
            client,
            trusted_state: initial_trusted_state,
            latest_epoch_change_li: None,
        })
    }
pub fn new ( url : Url , waypoint : Waypoint ) -> Result < Self > { let initial_trusted_state = TrustedState :: from ( waypoint ) ; let client = JsonRpcClient :: new ( url ) ? ; Ok ( LibraClient { client , trusted_state : initial_trusted_state , latest_epoch_change_li : None , } ) }
Construct a new Client instance.
Construct a new Client instance .
url
Url
waypoint
Waypoint
url
Url
waypoint
Waypoint