pub struct AnkiClient { /* private fields */ }
Expand description
The main client for interacting with Anki via AnkiConnect
This is the primary entry point for the library. It provides access to specialized clients for different aspects of Anki functionality.
Implementations§
Source§impl AnkiClient
impl AnkiClient
Sourcepub fn with_connection(host: &str, port: u16) -> Self
pub fn with_connection(host: &str, port: u16) -> Self
Creates a new client with a custom host and port
Trait Implementations§
Auto Trait Implementations§
impl Freeze for AnkiClient
impl RefUnwindSafe for AnkiClient
impl Send for AnkiClient
impl Sync for AnkiClient
impl Unpin for AnkiClient
impl UnwindSafe for AnkiClient
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