You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
You can apply #[serde(rename_all = "PascalCase")] to more structures instead of manual renaming.
You still have TODOs in your code. Maybe resolve them or move into github issues?
You can allow user to pass a &str as an argument where you need a String with arg: impl Into and acquire a String with arg.into() (in fn auth, for example).
timeout != None => timeout.is_some() or if you need to access inner value if let Some(to) = timeout {
I think Error could be better. What errors typical user of your crate would expect and in what form? How much details can you omit? You can hide pub fields, and instead lend message with Display.
Some functions on Entity trait can be implemented inside impl dyn Entity, to disallow override and detach dependency from implementor.https://radicle.community/t/rust-s-impl-dyn-trait-syntax/102The text was updated successfully, but these errors were encountered: