Enum solana_jsonrpc_server_utils::hosts::Port [−][src]
Port pattern
Variants
None
No port specified (default port)
Pattern(String)
Port specified as a wildcard pattern
Fixed(u16)
Fixed numeric port
Trait Implementations
impl Clone for Port
[src]
impl Clone for Port
fn clone(&self) -> Port
[src]
fn clone(&self) -> Port
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl Hash for Port
[src]
impl Hash for Port
fn hash<__H: Hasher>(&self, state: &mut __H)
[src]
fn hash<__H: Hasher>(&self, state: &mut __H)
Feeds this value into the given [Hasher
]. Read more
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0
[src]Feeds a slice of this type into the given [Hasher
]. Read more
impl PartialEq for Port
[src]
impl PartialEq for Port
fn eq(&self, other: &Port) -> bool
[src]
fn eq(&self, other: &Port) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Port) -> bool
[src]
fn ne(&self, other: &Port) -> bool
This method tests for !=
.
impl Eq for Port
[src]
impl Eq for Port
impl Debug for Port
[src]
impl Debug for Port
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl From<Option<u16>> for Port
[src]
impl From<Option<u16>> for Port
impl From<u16> for Port
[src]
impl From<u16> for Port