pub struct DirectoryService { /* private fields */ }Expand description
目录服务
提供目录服务相关 API 的访问入口。
Implementations§
Source§impl DirectoryService
impl DirectoryService
Sourcepub fn new(config: Arc<PlatformConfig>) -> Self
pub fn new(config: Arc<PlatformConfig>) -> Self
创建新的目录服务实例
Sourcepub fn config(&self) -> Arc<PlatformConfig>
pub fn config(&self) -> Arc<PlatformConfig>
获取客户端配置
Trait Implementations§
Source§impl Clone for DirectoryService
impl Clone for DirectoryService
Source§fn clone(&self) -> DirectoryService
fn clone(&self) -> DirectoryService
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for DirectoryService
impl !RefUnwindSafe for DirectoryService
impl Send for DirectoryService
impl Sync for DirectoryService
impl Unpin for DirectoryService
impl UnsafeUnpin for DirectoryService
impl !UnwindSafe for DirectoryService
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