pub struct Uri { /* private fields */ }
Expand description
A convenience type that can be used to construct Unix Domain Socket URIs
This type implements Into<hyper::Uri>
.
§Example
use hyper::Uri as HyperUri;
use hyperlocal::Uri;
let uri: HyperUri = Uri::new("/tmp/hyperlocal.sock", "/").into();
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl !Freeze for Uri
impl RefUnwindSafe for Uri
impl Send for Uri
impl Sync for Uri
impl Unpin for Uri
impl UnwindSafe for Uri
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more