samod-core 0.11.0

the core library for the samod automerge-repo implementation
Documentation
1
2
3
4
5
6
7
8
9
10
use super::{DialerId, ListenerId};

/// Identifies which dialer or listener owns a connection.
#[derive(Debug, Clone, Copy, PartialEq, Eq, Hash)]
pub enum ConnectionOwner {
    /// The connection belongs to a dialer (outgoing).
    Dialer(DialerId),
    /// The connection belongs to a listener (incoming).
    Listener(ListenerId),
}