Enum tss_esapi::tcti_ldr::ServerAddress
source · [−]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
sourceimpl Clone for ServerAddress
impl Clone for ServerAddress
sourcefn clone(&self) -> ServerAddress
fn clone(&self) -> ServerAddress
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Debug for ServerAddress
impl Debug for ServerAddress
sourceimpl Default for ServerAddress
impl Default for ServerAddress
sourceimpl Display for ServerAddress
impl Display for ServerAddress
sourceimpl FromStr for ServerAddress
impl FromStr for ServerAddress
sourceimpl PartialEq<ServerAddress> for ServerAddress
impl PartialEq<ServerAddress> for ServerAddress
sourcefn 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 ==. Read more
sourcefn ne(&self, other: &ServerAddress) -> bool
fn ne(&self, other: &ServerAddress) -> bool
This method tests for !=.
impl StructuralPartialEq for ServerAddress
Auto Trait Implementations
impl RefUnwindSafe for ServerAddress
impl Send for ServerAddress
impl Sync for ServerAddress
impl Unpin for ServerAddress
impl UnwindSafe for ServerAddress
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into)Uses borrowed data to replace owned data, usually by cloning. Read more