pub struct ListenOptions {
pub port: u16,
pub host: Option<String>,
pub path: Option<String>,
}Fields§
§port: u16§host: Option<String>§path: Option<String>Trait Implementations§
Source§impl Clone for ListenOptions
impl Clone for ListenOptions
Source§fn clone(&self) -> ListenOptions
fn clone(&self) -> ListenOptions
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for ListenOptions
impl RefUnwindSafe for ListenOptions
impl Send for ListenOptions
impl Sync for ListenOptions
impl Unpin for ListenOptions
impl UnsafeUnpin for ListenOptions
impl UnwindSafe for ListenOptions
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