Skip to main content

Module shared_values

Module shared_values 

Source
Expand description

This module contains the implementation of the shared values system. It includes the shared_container::SharedContainer, shared_container_inner::SharedContainerInner, SelfOwnedSharedContainer/ExternalSharedContainer and finally base_shared_value_container::BaseSharedValueContainer which is the underlying data structure for shared values, as well as various types of shared containers such as owned, referenced, and self-owned shared containers.

Modules§

apply
base_shared_value_container
This module contains the implementation of the BaseSharedValueContainer, which is the underlying data structure for shared values in DATEX.
clone_unsafe
collapsed_container_value
equality
errors
get_datex_type
identity
serde_dif
shared_mut
traits
update_handler
weak_shared_container

Structs§

ExternalSharedContainer
A shared container with an external pointer
OwnedSharedContainer
Wrapper struct for an owned shared value (i.e. shared X) It is guaranteed that the inner value is a SharedContainerInner::EndpointOwned.
ReferencedSharedContainer
Wrapper struct for a reference to a shared value (i.e. 'shared X or 'mut shared X).
RemotePointerAddress
SelfOwnedPointerAddress
SelfOwnedSharedContainer
A shared container with a pointer address owned by the local endpoint
Subscribers
SubscriptionMetadata

Enums§

PointerAddress
ReferenceMutability
SharedContainer
Top-level wrapper for any owned or referenced shared container, which can either be an owned shared container or a reference to a shared container.
SharedContainerInner
Wrapper containing either an SelfOwnedSharedContainer or an ExternalSharedContainer.
SharedContainerMutability
SharedContainerOwnership