Struct hyperlocal::Uri
source · 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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)