Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in rust

How can I define an async method in a trait?

rust rust-tokio

Is there a way to shorten match expressions of non-Copy types using Option::and_then?

rust

How to extract two integers from a string?

input rust

How can I modify a slice that is a function parameter?

rust

Assign a single value to multiple variables in one line in Rust?

rust syntactic-sugar

How do I deserialize into trait, not a concrete type?

serialization rust serde cbor

How to delete a published crate from crates.io?

rust

How to split string into chunks in Rust to insert spaces

string rust chunks

Calculate distance between two raw pointers

rust ffi

What is the difference between `then`, `and_then` and `or_else` in Rust futures?

rust future

How to make an argument optional based on the presence of another one in structopt?

rust structopt

What is the syntax: `instance.method::<SomeThing>()`?

rust syntax

Partial move of Vec of tuple

rust move move-semantics

How to map a parametrized enum from a generic type to another?

rust

Multi-line string in Rust with preserved leading whitespace

How do I define trait bounds on an associated type?

How can I deserialize an enum when the case doesn't match?

rust serde serde-json

Closing a Channel, like in Go

rust channel

How can I use Serde with a JSON array with different objects for successes and errors?

json rust serde

"parameter `'a` is never used" error when 'a is used in type parameter bound

rust