pub struct UpcallGroupSource { /* private fields */ }Expand description
Shell-based group source that runs commands for lookups.
Commands can use %s as a placeholder for the group name.
Implementations§
Trait Implementations§
Source§impl GroupSource for UpcallGroupSource
impl GroupSource for UpcallGroupSource
Source§fn resolve_map(&self, group: &str) -> Result<String>
fn resolve_map(&self, group: &str) -> Result<String>
Resolve a group name to a node pattern string. Read more
Source§fn resolve_reverse(&self, node: &str) -> Result<Vec<String>>
fn resolve_reverse(&self, node: &str) -> Result<Vec<String>>
Find all groups that contain a given node.
Source§fn has_reverse(&self) -> bool
fn has_reverse(&self) -> bool
Returns true if this source supports reverse lookups.
Source§fn cache_time(&self) -> Option<f64>
fn cache_time(&self) -> Option<f64>
Returns the cache time in seconds, if any.
Auto Trait Implementations§
impl Freeze for UpcallGroupSource
impl RefUnwindSafe for UpcallGroupSource
impl Send for UpcallGroupSource
impl Sync for UpcallGroupSource
impl Unpin for UpcallGroupSource
impl UnsafeUnpin for UpcallGroupSource
impl UnwindSafe for UpcallGroupSource
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