pub struct PamNssConfig {
pub sock_path: String,
pub unix_sock_timeout: u64,
}
Expand description
This is the parsed configuration that will be used by pam/nss tools that need fast access to only the socket and timeout information related to the resolver.
Fields§
§sock_path: String
§unix_sock_timeout: u64
Implementations§
Source§impl PamNssConfig
impl PamNssConfig
pub fn new() -> Self
pub fn read_options_from_optional_config<P: AsRef<Path> + Debug>( self, config_path: P, ) -> Result<Self, UnixIntegrationError>
Trait Implementations§
Source§impl Debug for PamNssConfig
impl Debug for PamNssConfig
Source§impl Default for PamNssConfig
impl Default for PamNssConfig
Auto Trait Implementations§
impl Freeze for PamNssConfig
impl RefUnwindSafe for PamNssConfig
impl Send for PamNssConfig
impl Sync for PamNssConfig
impl Unpin for PamNssConfig
impl UnwindSafe for PamNssConfig
Blanket Implementations§
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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