mirror of
https://github.com/YGGverse/Yoda.git
synced 2025-01-15 17:20:08 +00:00
disallow direct access to shared client cancellable
This commit is contained in:
parent
325d5505d7
commit
e7868a9dcf
@ -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…
x
Reference in New Issue
Block a user