#[repr(transparent)]pub struct KeyFile { /* private fields */ }
Implementations
This is supported on crate feature
v2_56
only.This is supported on crate feature
v2_50
only.pub fn load_from_file(
&self,
file: impl AsRef<Path>,
flags: KeyFileFlags
) -> Result<(), Error>
pub fn load_from_data_dirs<T: AsRef<Path>>(
&self,
file: T,
flags: KeyFileFlags
) -> Result<PathBuf, Error>
pub fn load_from_dirs<T: AsRef<Path>, U: AsRef<Path>>(
&self,
file: T,
search_dirs: &[U],
flags: KeyFileFlags
) -> Result<PathBuf, Error>
Trait Implementations
This method returns an ordering between self
and other
values if one exists. Read more
This method tests less than (for self
and other
) and is used by the <
operator. Read more
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
Returns the type identifier of Self
.
Auto Trait Implementations
impl RefUnwindSafe for KeyFile
impl UnwindSafe for KeyFile
Blanket Implementations
Mutably borrows from an owned value. Read more