mirror of
https://github.com/YGGverse/Yoda.git
synced 2026-04-02 09:35:28 +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)
|
/// e.g. session resumption or multi-thread connection management (depending of client type selected)
|
||||||
pub struct Client {
|
pub struct Client {
|
||||||
// Shared reference to cancel async operations
|
// Shared reference to cancel async operations
|
||||||
pub cancellable: RefCell<Cancellable>,
|
cancellable: RefCell<Cancellable>,
|
||||||
// Clients
|
// Clients
|
||||||
pub gemini: gemini::Client,
|
pub gemini: gemini::Client,
|
||||||
// other clients..
|
// other clients..
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue