mirror of
https://github.com/YGGverse/Yoda.git
synced 2026-03-31 16:45:27 +00:00
disallow direct access to shared client cancellable
This commit is contained in:
parent
325d5505d7
commit
e7868a9dcf
1 changed files with 1 additions and 1 deletions
|
|
@ -9,7 +9,7 @@ use std::cell::RefCell;
|
|||
/// e.g. session resumption or multi-thread connection management (depending of client type selected)
|
||||
pub struct Client {
|
||||
// Shared reference to cancel async operations
|
||||
pub cancellable: RefCell<Cancellable>,
|
||||
cancellable: RefCell<Cancellable>,
|
||||
// Clients
|
||||
pub gemini: gemini::Client,
|
||||
// other clients..
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue