Martin Habovštiak
Martin Habovštiak
Let me clarify this to make the rules clearer and maybe more obvious. Terminology: A type is considered *Trait wrapper* if: * it's generic * it implements `Trait` * nobody...
BTW, this affects bindgen - it optionally depends on `clap` because of binary but libraries using it in build scripts don't need `clap` and may forget to turn off default...
I [had to yesterday](https://github.com/Kixunil/struct_deser/blob/master/struct_deser-derive/src/lib.rs#L23), but obviously I did it for generating the code, not in the actual run time. @Xion the `ByteOrder` trait doesn't accept `&self`, so there's no way...
I've found another interesting use case. When implementing (de)serialization manually (e.g. to support large numbers), this would be beneficial: ```rust trait ByteOrder { const ENDIANESS: Endianess; // The rest of...
Look at `FromBytesOrdered` trait in my [`struct_deser`](https://github.com/Kixunil/struct_deser/blob/master/src/lib.rs#L84) crate. It's easy to implement such trait for all primitive types, but how would one implement it for his own type? (e.g. `u256`...
I just ran into a real-world case when this is useful: tiff file format. It has marker at the beginning telling reader whether it's big endian or little endian. Every...
That's very reasonable, thanks for writing that post! I replied there about more general stuff. I have an idea that we could already play with some solution for now and...
Thanks for report! This is very useful to know.
Hi, sorry for not replying to your e-mail, last couple of days were terrible. One more thing that comes to my mind is try to use cookie authentication. Maybe we've...
Did you set `/path/to/cookie/file` to the actual cookie file used by bitcoind?