Enum wix::TimestampServer
source[−]pub enum TimestampServer {
Custom(String),
Comodo,
Verisign,
}
Expand description
The aliases for the URLs to different Microsoft Authenticode timestamp servers.
Variants
Custom(String)
Tuple Fields
0: String
A URL to a timestamp server.
Comodo
The alias for the Comodo timestamp server.
Verisign
The alias for the Verisign timestamp server.
Implementations
Gets the URL of the timestamp server for an alias.
Examples
use std::str::FromStr;
use wix::TimestampServer;
assert_eq!(
TimestampServer::from_str("http://www.example.com").unwrap().url(),
"http://www.example.com"
);
assert_eq!(
TimestampServer::Comodo.url(),
"http://timestamp.comodoca.com/"
);
assert_eq!(
TimestampServer::Verisign.url(),
"http://timestamp.verisign.com/scripts/timstamp.dll"
);
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for TimestampServer
impl Send for TimestampServer
impl Sync for TimestampServer
impl Unpin for TimestampServer
impl UnwindSafe for TimestampServer
Blanket Implementations
Mutably borrows from an owned value. Read more