Enum netservices::LinkDirection
source · pub enum LinkDirection {
Inbound,
Outbound,
}
Variants§
Implementations§
source§impl LinkDirection
impl LinkDirection
pub fn is_inbound(self) -> bool
pub fn is_outbound(self) -> bool
Trait Implementations§
source§impl Clone for LinkDirection
impl Clone for LinkDirection
source§fn clone(&self) -> LinkDirection
fn clone(&self) -> LinkDirection
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for LinkDirection
impl Debug for LinkDirection
source§impl Hash for LinkDirection
impl Hash for LinkDirection
source§impl PartialEq<LinkDirection> for LinkDirection
impl PartialEq<LinkDirection> for LinkDirection
source§fn eq(&self, other: &LinkDirection) -> bool
fn eq(&self, other: &LinkDirection) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.