pub enum TimestampServer {
Simple(String),
Rfc3161(String, String),
}
Expand description
Describes a timestamp server to use during signing.
Variants§
Simple(String)
Simple timestamp server.
Corresponds to /t
flag to signtool.
Rfc3161(String, String)
RFC 3161 timestamp server.
First item is the URL, second is signing algorithm. Corresponds to signtool
flags /tr
and /td
.
Trait Implementations§
Source§impl Clone for TimestampServer
impl Clone for TimestampServer
Source§fn clone(&self) -> TimestampServer
fn clone(&self) -> TimestampServer
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations§
impl Freeze for TimestampServer
impl RefUnwindSafe for TimestampServer
impl Send for TimestampServer
impl Sync for TimestampServer
impl Unpin for TimestampServer
impl UnwindSafe for TimestampServer
Blanket Implementations§
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