#[repr(i32)]
pub enum Modules {
Show 15 variants
None,
Rpc,
Node,
Useraccounts,
Users,
Router,
Feed,
Connections,
Debug,
Group,
Chat,
Chatfile,
Ble,
Rtc,
Dtn,
}
Expand description
Identification to which module the message shall be handed to.
Variants
None
default value, when nothing is defined. drop this message
Rpc
RPC related messages such as authorisation etc.
Node
node information
Useraccounts
user accounts on this node
Users
all users in the network
Router
routing information
Feed
feed module handling
send and retrieve feed messages
Connections
connection information to other nodes
Debug
debug information & settings
Group
chat group handling
manage chat groups and group invites
Chat
chat module to send chat messages, get a conversation overiew and all messages within a conversation
Chatfile
all functions to send and manage files sent into a chat conversation
Ble
BLE module handling
Rtc
Real Time Communication handling
Dtn
Delay Tolerant Networking
Implementations
sourceimpl Modules
impl Modules
sourcepub fn as_str_name(&self) -> &'static str
pub fn as_str_name(&self) -> &'static str
String value of the enum field names used in the ProtoBuf definition.
The values are not transformed in any way and thus are considered stable (if the ProtoBuf definition does not change) and safe for programmatic use.
Trait Implementations
sourceimpl Ord for Modules
impl Ord for Modules
sourceimpl PartialOrd<Modules> for Modules
impl PartialOrd<Modules> for Modules
sourcefn partial_cmp(&self, other: &Modules) -> Option<Ordering>
fn partial_cmp(&self, other: &Modules) -> Option<Ordering>
This method returns an ordering between self
and other
values if one exists. Read more
1.0.0 · sourcefn lt(&self, other: &Rhs) -> bool
fn lt(&self, other: &Rhs) -> bool
This method tests less than (for self
and other
) and is used by the <
operator. Read more
1.0.0 · sourcefn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
impl Copy for Modules
impl Eq for Modules
impl StructuralEq for Modules
impl StructuralPartialEq for Modules
Auto Trait Implementations
impl RefUnwindSafe for Modules
impl Send for Modules
impl Sync for Modules
impl Unpin for Modules
impl UnwindSafe for Modules
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
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
sourceimpl<Q, K> Equivalent<K> for Q where
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Q where
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
sourcefn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to key
and return true
if they are equal.