Module common

Source
Expand description

In this module, there’re many traits/structs and fns defined, for general purposes crossing over many modules of fpRust.

Structs§

LinkedListAsync
RawFunc
RawFunc struct implements an useful container of FnMut, which could be sent crossing channels.
RawReceiver
RawReceiver struct implements an useful container of FnMut(Arc<T>) , receiving an Arc<T> as its parameter.
SubscriptionFunc
SubscriptionFunc struct implements the interface of Subscription, for general purposes crossing over many modules of fpRust.

Traits§

Observable
Observable memorizes all Subscription and send notifications.
Subscription
Subscription trait defines the interface of a broadcasting subscriber, for general purposes crossing over many modules of fpRust.
UniqueId
UniqueId trait defines the interface of an object with an unique id, for general purposes crossing over many modules of fpRust.

Functions§

generate_id
get_mut
Get a mut ref of a specific element of a Vec.