Struct keyring_search::List
source · pub struct List {}Implementations§
source§impl List
impl List
Implementation of methods for the List structure.
list_all, lists all returned credentials
list_max, lists a specified max amount of
credentials. These are specified by calling list_credentials.
Linux-keyutils search feature is limited to one result,
no matter the Limit, one result will be returned.
sourcepub fn list_credentials(
search_result: &CredentialSearchResult,
limit: Limit,
) -> String
pub fn list_credentials( search_result: &CredentialSearchResult, limit: Limit, ) -> String
List the credentials with given search result
Takes CredentialSearchResult type and converts to a string for printing. Matches the Limit type passed to constrain the amount of results added to the string
Auto Trait Implementations§
impl Freeze for List
impl RefUnwindSafe for List
impl Send for List
impl Sync for List
impl Unpin for List
impl UnwindSafe for List
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