Struct pkcs11_uri::Pkcs11Uri
source · [−]pub struct Pkcs11Uri {
pub path_attributes: PathAttributes,
pub query_attributes: QueryAttributes,
/* private fields */
}
Expand description
Parsed RFC 7512 PKCS #11 URI
Fields
path_attributes: PathAttributes
query_attributes: QueryAttributes
Implementations
sourceimpl Pkcs11Uri
impl Pkcs11Uri
pub fn context(&self) -> Context
pub fn identify_slots(&self) -> Result<Vec<SlotId>>
pub fn identify_tokens(&self) -> Result<Vec<SlotId>>
pub fn identify_object(&self) -> Result<(Context, SessionHandle, ObjectHandle)>
Trait Implementations
impl StructuralPartialEq for Pkcs11Uri
Auto Trait Implementations
impl RefUnwindSafe for Pkcs11Uri
impl Send for Pkcs11Uri
impl Sync for Pkcs11Uri
impl Unpin for Pkcs11Uri
impl UnwindSafe for Pkcs11Uri
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