Enum nreplops_tool::conn_expr::ConnectionExpr
source · pub enum ConnectionExpr {
RouteExpr(RouteExpr),
HostKey(String),
}Variants§
Implementations§
source§impl ConnectionExpr
impl ConnectionExpr
pub fn try_as_route_expr(&self) -> Option<&RouteExpr>
Trait Implementations§
source§impl Clone for ConnectionExpr
impl Clone for ConnectionExpr
source§fn clone(&self) -> ConnectionExpr
fn clone(&self) -> ConnectionExpr
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 ConnectionExpr
impl Debug for ConnectionExpr
source§impl From<&ConnectionExpr> for ConnectionExprSource
impl From<&ConnectionExpr> for ConnectionExprSource
source§fn from(e: &ConnectionExpr) -> Self
fn from(e: &ConnectionExpr) -> Self
Converts to this type from the input type.
source§impl From<ConnectionExpr> for ConnectionExprSource
impl From<ConnectionExpr> for ConnectionExprSource
source§fn from(e: ConnectionExpr) -> Self
fn from(e: ConnectionExpr) -> Self
Converts to this type from the input type.
source§impl From<RouteExpr> for ConnectionExpr
impl From<RouteExpr> for ConnectionExpr
source§impl FromStr for ConnectionExpr
impl FromStr for ConnectionExpr
source§impl PartialEq for ConnectionExpr
impl PartialEq for ConnectionExpr
source§fn eq(&self, other: &ConnectionExpr) -> bool
fn eq(&self, other: &ConnectionExpr) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for ConnectionExpr
Auto Trait Implementations§
impl RefUnwindSafe for ConnectionExpr
impl Send for ConnectionExpr
impl Sync for ConnectionExpr
impl Unpin for ConnectionExpr
impl UnwindSafe for ConnectionExpr
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more