Enum jsonrpc_server_utils::hosts::Port
source · pub enum Port {
None,
Pattern(String),
Fixed(u16),
}
Expand description
Port pattern
Variants§
None
No port specified (default port)
Pattern(String)
Port specified as a wildcard pattern
Fixed(u16)
Fixed numeric port
Trait Implementations§
source§impl PartialEq<Port> for Port
impl PartialEq<Port> for Port
impl Eq for Port
impl StructuralEq for Port
impl StructuralPartialEq for Port
Auto Trait Implementations§
impl RefUnwindSafe for Port
impl Send for Port
impl Sync for Port
impl Unpin for Port
impl UnwindSafe for Port
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