Enum tss_esapi::tcti_ldr::ServerAddress
source · pub enum ServerAddress {
Ip(IpAddr),
Hostname(String),
}Expand description
Address of a TPM server
The default value is localhost
Variants§
Ip(IpAddr)
IPv4 or IPv6 address
Hostname(String)
Hostname
The string is checked for compatibility with DNS hostnames before the context is created
Trait Implementations§
source§impl Clone for ServerAddress
impl Clone for ServerAddress
source§fn clone(&self) -> ServerAddress
fn clone(&self) -> ServerAddress
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 ServerAddress
impl Debug for ServerAddress
source§impl Default for ServerAddress
impl Default for ServerAddress
source§impl Display for ServerAddress
impl Display for ServerAddress
source§impl FromStr for ServerAddress
impl FromStr for ServerAddress
source§impl PartialEq<ServerAddress> for ServerAddress
impl PartialEq<ServerAddress> for ServerAddress
source§fn eq(&self, other: &ServerAddress) -> bool
fn eq(&self, other: &ServerAddress) -> bool
This method tests for
self and other values to be equal, and is used
by ==.