| Commit message (Collapse) | Author | Age | Lines |
| | |
|
| |
|
|
|
|
| |
the match_variant macro was unclear, unreadable and no longer needed as
we have automaticly derived from implementations for all Variant enum
fields now
|
| |
|
|
| |
move stuff around a bit to sepperate it out for deserializevariant
|
| |
|
|
|
|
|
|
|
| |
this changes the public API in that all our methods now return a proper
ProtocolError crate. Needed change anyways to properly deal with all our
errors in the long run.
Will still need to do a pass through the crate to remove all existing
unwraps where it makes sense.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
the SyncProxy is now a globally available OnceCell that transparently
offers a struct with methods to send syncmessages and rpccalls.
This allows me to get rid of the globally passed around syncproxy var.
The Syncable trait provides default implementations that access this
global so the library user usually does not need to use it directly.
Further the Syncable trait now provides default implementations for it's
methods and only a const for the CLASS name must be set.
It isn't very idiomatic rust and takes away some freedom from the
library user but i think that it's an overall nicer solution and
simplifies the code big time.
|
| | |
|
| | |
|
| | |
|
| |
|