pub fn from_static(s: &'static str) -> Endpoint {
        let uri = Uri::from_static(s);
        Self::builder(uri)
    }
Create an [`Endpoint`] from a static string.

```
# use tonic::transport::Channel;
Channel::from_static("https://example.com");
```
tonic/src/transport/channel/mod.rs