mirror of
https://github.com/YGGverse/Yoda.git
synced 2026-04-02 01:25:27 +00:00
add comments
This commit is contained in:
parent
786286dc3e
commit
aa8dc36077
2 changed files with 11 additions and 1 deletions
|
|
@ -29,8 +29,11 @@ pub struct Driver {
|
|||
}
|
||||
|
||||
impl Driver {
|
||||
// Constructors
|
||||
|
||||
/// Init new `Self`
|
||||
pub fn init(profile: &Rc<Profile>, callback: impl Fn(Status) + 'static) -> Self {
|
||||
// Init protocol driver libraries
|
||||
// Init supported protocol libraries
|
||||
let gemini = ggemini::Client::new();
|
||||
|
||||
// Translate driver status to `Status`
|
||||
|
|
@ -62,6 +65,10 @@ impl Driver {
|
|||
}
|
||||
}
|
||||
|
||||
// Actions
|
||||
|
||||
/// Make new async `Feature` request
|
||||
/// * return shared `Response` as the callback
|
||||
pub fn feature_async(
|
||||
&self,
|
||||
feature: Feature,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue