pub enum PortsKind {
Map(HashMap<u16, PortMapEntry>),
Standard(HostSource),
HttpsOnly(HostSource),
HttpOnly(HostSource),
}Variants§
Implementations§
source§impl PortsKind
impl PortsKind
pub async fn resolve( self, host_collections: &HostCollections, hosts: &Hosts, exts: &ExtensionBundles, custom_exts: &CustomExtensions, opts: &CliOptions<'_>, ) -> Result<Vec<PortDescriptor>, String>
Trait Implementations§
source§impl<'de> Deserialize<'de> for PortsKind
impl<'de> Deserialize<'de> for PortsKind
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for PortsKind
impl RefUnwindSafe for PortsKind
impl Send for PortsKind
impl Sync for PortsKind
impl Unpin for PortsKind
impl UnwindSafe for PortsKind
Blanket Implementations§
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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