[−][src]Enum koibumi_node_sync::Event
The events which occur in a Bitmessage node.
Variants
Indicates the stats of the counts of connections have been changed.
Fields of ConnectionCounts
incoming_initiated: usize
The count of incoming initiated connections.
incoming_connected: usize
The count of incoming connected connections.
incoming_established: usize
The count of incoming established connections.
outgoing_initiated: usize
The count of outgoing initiated connections.
outgoing_connected: usize
The count of outgoing connected connections.
outgoing_established: usize
The count of outgoing established connections.
AddrCount(usize)
Indicates the count of known node addresses has been changed.
Indicates a connection to a node has newly been established. The socket address, the user agent and the rating of the connectivity of the node are returned.
Fields of Established
addr: SocketAddrNode
The socket address.
user_agent: UserAgent
The user agent.
rating: Rating
The rating.
Indicates an established connection to a node has been disconnected. The socket address of the node is returned.
Fields of Disconnected
addr: SocketAddrNode
The socket address.
Indicates the stats of the counts of objects are changed.
Fields of Objects
Indicates the node has been stopped.
Indicates that an user received a msg message.
Fields of Msg
Indicates that an user received a broadcast message.
Fields of Broadcast
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Event
[src]
impl Send for Event
[src]
impl Sync for Event
[src]
impl Unpin for Event
[src]
impl UnwindSafe for Event
[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,