pub struct WebViewerServerPort(pub u16);
Expand description
Typed port for use with WebViewerServer
Tuple Fields§
§0: u16
Implementations§
source§impl WebViewerServerPort
impl WebViewerServerPort
sourcepub const AUTO: Self = _
pub const AUTO: Self = _
Port to use with WebViewerServer::new
when you want the OS to pick a port for you.
This is defined as 0
.
Trait Implementations§
source§impl Clone for WebViewerServerPort
impl Clone for WebViewerServerPort
source§fn clone(&self) -> WebViewerServerPort
fn clone(&self) -> WebViewerServerPort
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for WebViewerServerPort
impl Debug for WebViewerServerPort
source§impl Default for WebViewerServerPort
impl Default for WebViewerServerPort
source§impl Display for WebViewerServerPort
impl Display for WebViewerServerPort
source§impl FromStr for WebViewerServerPort
impl FromStr for WebViewerServerPort
source§impl PartialEq for WebViewerServerPort
impl PartialEq for WebViewerServerPort
source§fn eq(&self, other: &WebViewerServerPort) -> bool
fn eq(&self, other: &WebViewerServerPort) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for WebViewerServerPort
impl Eq for WebViewerServerPort
impl StructuralPartialEq for WebViewerServerPort
Auto Trait Implementations§
impl Freeze for WebViewerServerPort
impl RefUnwindSafe for WebViewerServerPort
impl Send for WebViewerServerPort
impl Sync for WebViewerServerPort
impl Unpin for WebViewerServerPort
impl UnwindSafe for WebViewerServerPort
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
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.