pub trait NodeType:
Clone
+ Debug
+ Send
+ Sized
+ PartialEq
+ Eq {
// Required methods
fn accept_incoming_links(&self) -> bool;
fn accept_outgoing_links(&self) -> bool;
}Required Methods§
Sourcefn accept_incoming_links(&self) -> bool
fn accept_incoming_links(&self) -> bool
Whether or not the node allows incoming connections
Sourcefn accept_outgoing_links(&self) -> bool
fn accept_outgoing_links(&self) -> bool
Whether or not the node allows outgoing connections
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.