pub fn connect<D>(dst: D) -> Result<Runtime<tonic::transport::Channel>>
where
    D: std::convert::TryInto<tonic::transport::Endpoint>,
    D::Error: Into<StdError>,
{
    client::DaprClient::connect(dst)
        .map(Runtime)
        .map_err(Error::from)
}
/// Opens a gRPC connection to a Dapr runtime.
Opens a gRPC connection to a Dapr runtime.
Opens a gRPC connection to a Dapr runtime .
pub fn connect<D>(dst: D) -> Result<Runtime<tonic::transport::Channel>>
where
    D: std::convert::TryInto<tonic::transport::Endpoint>,
    D::Error: Into<StdError>,
{
    client::DaprClient::connect(dst)
        .map(Runtime)
        .map_err(Error::from)
}
pub fn connect < D > ( dst : D ) -> Result < Runtime < tonic :: transport :: Channel > > where D : std :: convert :: TryInto < tonic :: transport :: Endpoint > , D :: Error : Into < StdError > , { client :: DaprClient :: connect ( dst ) . map ( Runtime ) . map_err ( Error :: from ) }
Opens a gRPC connection to a Dapr runtime.
Opens a gRPC connection to a Dapr runtime .
dst
D
dst
D