pub struct ImCore { /* private fields */ }Implementations§
Source§impl ImCore
impl ImCore
pub async fn open( sdk_config: ImCoreConfig, sdk_paths: ImCorePaths, ) -> ImResult<Self>
pub async fn open_with_options( sdk_config: ImCoreConfig, sdk_paths: ImCorePaths, options: ImCoreOpenOptions, ) -> ImResult<Self>
pub fn new(sdk_config: ImCoreConfig, sdk_paths: ImCorePaths) -> ImResult<Self>
pub fn new_with_options( sdk_config: ImCoreConfig, sdk_paths: ImCorePaths, options: ImCoreOpenOptions, ) -> ImResult<Self>
pub fn identities(&self) -> IdentityRegistry<'_>
pub fn bootstrap(&self) -> CoreBootstrap<'_>
pub fn client(&self, selector: IdentitySelector) -> ImResult<ImClient>
pub async fn client_async( &self, selector: IdentitySelector, ) -> ImResult<ImClient>
pub fn client_with_identity_material( &self, material: HostedIdentityMaterial, ) -> ImResult<ImClient>
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for ImCore
impl !UnwindSafe for ImCore
impl Freeze for ImCore
impl Send for ImCore
impl Sync for ImCore
impl Unpin for ImCore
impl UnsafeUnpin for ImCore
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