pub enum Object<'c, 'a> {
Certificate(&'c Certificate<'a>),
PublicKey(WorkingKey<'a>),
}Expand description
The caller’s explicit object. A key need not have a public-key certificate.
Variants§
Certificate(&'c Certificate<'a>)
Entire original DER certificate, including its signature.
PublicKey(WorkingKey<'a>)
Effective public key, including any inherited parameter source.
Trait Implementations§
Auto Trait Implementations§
impl<'c, 'a> !RefUnwindSafe for Object<'c, 'a>
impl<'c, 'a> !Send for Object<'c, 'a>
impl<'c, 'a> !Sync for Object<'c, 'a>
impl<'c, 'a> !UnwindSafe for Object<'c, 'a>
impl<'c, 'a> Freeze for Object<'c, 'a>
impl<'c, 'a> Unpin for Object<'c, 'a>
impl<'c, 'a> UnsafeUnpin for Object<'c, 'a>
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