Enum orca::TargetServer
source · [−]pub enum TargetServer {
Kanidm(KaniHttpServer),
KanidmLdap(Box<KaniLdapServer>),
DirSrv(DirectoryServer),
}
Variants
Kanidm(KaniHttpServer)
KanidmLdap(Box<KaniLdapServer>)
DirSrv(DirectoryServer)
Implementations
sourceimpl TargetServer
impl TargetServer
pub(crate) fn info(&self) -> String
pub(crate) fn rname(&self) -> &str
pub(crate) fn builder(&self) -> TargetServerBuilder
pub(crate) async fn open_admin_connection(&self) -> Result<(), ()>
pub(crate) async fn setup_admin_delete_uuids(
&self,
targets: &[Uuid]
) -> Result<(), ()>
pub(crate) async fn setup_admin_precreate_entities(
&self,
targets: &HashSet<Uuid>,
all_entities: &HashMap<Uuid, Entity>
) -> Result<(), ()>
pub(crate) async fn setup_access_controls(
&self,
access: &HashMap<Uuid, Vec<EntityType>>,
all_entities: &HashMap<Uuid, Entity>
) -> Result<(), ()>
pub(crate) async fn open_user_connection(
&self,
test_start: Instant,
name: &str,
pw: &str
) -> Result<(Duration, Duration), ()>
pub(crate) async fn close_connection(&self)
pub(crate) async fn search(
&self,
test_start: Instant,
ids: &[String]
) -> Result<(Duration, Duration, usize), ()>
Auto Trait Implementations
impl !RefUnwindSafe for TargetServer
impl Send for TargetServer
impl Sync for TargetServer
impl Unpin for TargetServer
impl !UnwindSafe for TargetServer
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more