EnvironmentStringConvertible

public protocol EnvironmentStringConvertible

A type that can be represented as an environment variable string.

  • init(environmentString:) Default implementation

    Instantiates an instance of the conforming type from an environment variable string representation.

    Default Implementation

    Declaration

    Swift

    init?(environmentString: String)

    Parameters

    environmentString

    The string representation of the environment variable.

  • environmentString Default implementation

    The environment variable string representation of the conforming type.

    Default Implementation

    Declaration

    Swift

    var environmentString: String { get }