Struct aper::data_structures::Map
source · [−]pub struct Map<T: Serialize + DeserializeOwned + Ord + PartialEq + Clone + Debug + 'static, V: StateMachine> { /* private fields */ }
Implementations
sourceimpl<T: Serialize + DeserializeOwned + Ord + PartialEq + Clone + Debug + 'static, V: StateMachine + PartialEq> Map<T, V>
impl<T: Serialize + DeserializeOwned + Ord + PartialEq + Clone + Debug + 'static, V: StateMachine + PartialEq> Map<T, V>
Trait Implementations
sourceimpl<T: Clone + Serialize + DeserializeOwned + Ord + PartialEq + Clone + Debug + 'static, V: Clone + StateMachine> Clone for Map<T, V>
impl<T: Clone + Serialize + DeserializeOwned + Ord + PartialEq + Clone + Debug + 'static, V: Clone + StateMachine> Clone for Map<T, V>
sourceimpl<T: Debug + Serialize + DeserializeOwned + Ord + PartialEq + Clone + Debug + 'static, V: Debug + StateMachine> Debug for Map<T, V>
impl<T: Debug + Serialize + DeserializeOwned + Ord + PartialEq + Clone + Debug + 'static, V: Debug + StateMachine> Debug for Map<T, V>
sourceimpl<T: Default + Serialize + DeserializeOwned + Ord + PartialEq + Clone + Debug + 'static, V: Default + StateMachine> Default for Map<T, V>
impl<T: Default + Serialize + DeserializeOwned + Ord + PartialEq + Clone + Debug + 'static, V: Default + StateMachine> Default for Map<T, V>
sourceimpl<'de, T: Serialize + DeserializeOwned + Ord + PartialEq + Clone + Debug + 'static, V: StateMachine> Deserialize<'de> for Map<T, V>
impl<'de, T: Serialize + DeserializeOwned + Ord + PartialEq + Clone + Debug + 'static, V: StateMachine> Deserialize<'de> for Map<T, V>
sourcefn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
sourceimpl<T: Serialize + DeserializeOwned + Ord + PartialEq + Clone + Debug + 'static, V: StateMachine> Serialize for Map<T, V>
impl<T: Serialize + DeserializeOwned + Ord + PartialEq + Clone + Debug + 'static, V: StateMachine> Serialize for Map<T, V>
sourceimpl<T: Serialize + DeserializeOwned + Ord + PartialEq + Clone + Debug + 'static, V: StateMachine + PartialEq> StateMachine for Map<T, V>
impl<T: Serialize + DeserializeOwned + Ord + PartialEq + Clone + Debug + 'static, V: StateMachine + PartialEq> StateMachine for Map<T, V>
type Transition = MapTransition<T, V>
type Transition = MapTransition<T, V>
The
StateMachine::Transition
type associates another type with this state machine
as its transitions. Read moretype Conflict = NeverConflict
sourcefn apply(&self, transition: &Self::Transition) -> Result<Self, Self::Conflict>
fn apply(&self, transition: &Self::Transition) -> Result<Self, Self::Conflict>
Update the state machine according to the given [
Transition
]. This method must be
deterministic: calling it on a clone of the state with a clone of the [Transition
]
must result in the same state, even at a different time and on a different machine. This
is the requirement that allows Aper to keep the state in sync across multiple machines. Read moreAuto Trait Implementations
impl<T, V> RefUnwindSafe for Map<T, V>where
T: RefUnwindSafe,
V: RefUnwindSafe,
impl<T, V> !Send for Map<T, V>
impl<T, V> !Sync for Map<T, V>
impl<T, V> Unpin for Map<T, V>where
T: Unpin,
V: Unpin,
impl<T, V> UnwindSafe for Map<T, V>where
T: UnwindSafe + RefUnwindSafe,
V: UnwindSafe + RefUnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more