pub struct OnDiskKeyInfoManagerBuilder { /* private fields */ }Expand description
OnDiskKeyInfoManager builder
Implementations§
Source§impl OnDiskKeyInfoManagerBuilder
impl OnDiskKeyInfoManagerBuilder
Sourcepub fn new() -> OnDiskKeyInfoManagerBuilder
pub fn new() -> OnDiskKeyInfoManagerBuilder
Create a new OnDiskKeyInfoManagerBuilder
Sourcepub fn with_mappings_dir_path(
self,
path: PathBuf,
) -> OnDiskKeyInfoManagerBuilder
pub fn with_mappings_dir_path( self, path: PathBuf, ) -> OnDiskKeyInfoManagerBuilder
Add a mappings directory path to the builder
Sourcepub fn with_auth_type(
self,
default_auth_type: AuthType,
) -> OnDiskKeyInfoManagerBuilder
pub fn with_auth_type( self, default_auth_type: AuthType, ) -> OnDiskKeyInfoManagerBuilder
Add an authentication type to the builder
Sourcepub fn build(self) -> Result<OnDiskKeyInfoManager>
pub fn build(self) -> Result<OnDiskKeyInfoManager>
Build into a OnDiskKeyInfoManager
Trait Implementations§
Source§impl Debug for OnDiskKeyInfoManagerBuilder
impl Debug for OnDiskKeyInfoManagerBuilder
Source§impl Default for OnDiskKeyInfoManagerBuilder
impl Default for OnDiskKeyInfoManagerBuilder
Source§fn default() -> OnDiskKeyInfoManagerBuilder
fn default() -> OnDiskKeyInfoManagerBuilder
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for OnDiskKeyInfoManagerBuilder
impl RefUnwindSafe for OnDiskKeyInfoManagerBuilder
impl Send for OnDiskKeyInfoManagerBuilder
impl Sync for OnDiskKeyInfoManagerBuilder
impl Unpin for OnDiskKeyInfoManagerBuilder
impl UnwindSafe for OnDiskKeyInfoManagerBuilder
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