Struct elfo_core::Local [−][src]
pub struct Local<T>(_);
Expand description
Messages must be instances of Serialize and Deserialize because of
network communication and message dumping. However, in some cases, it’s
desired to have messages that cannot be serialized. For instance, when
sharding TCP sockets.
Local<T> implements Serialize and Deserialize for any T. Meanwhile,
it can be serialized (but w/o useful information), it cannot be deserialized
(it returns an error on attempts).
Implementations
Trait Implementations
Auto Trait Implementations
impl<T> RefUnwindSafe for Local<T> where
T: RefUnwindSafe, impl<T> UnwindSafe for Local<T> where
T: UnwindSafe, Blanket Implementations
Mutably borrows from an owned value. Read more
The equivalent of Access::load.
Instruments this type with the provided Span, returning an
Instrumented wrapper. Read more