From: Ian Jackson Date: Sat, 24 Jul 2021 13:47:31 +0000 (+0100) Subject: config: move LinkEnd X-Git-Tag: hippotat/1.0.0~479 X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ian/git?a=commitdiff_plain;h=960aa62fb0d361b64e82e0c0582a6426543bc12b;p=hippotat.git config: move LinkEnd Signed-off-by: Ian Jackson --- diff --git a/src/config.rs b/src/config.rs index 8d9d0c8..2d2d9ac 100644 --- a/src/config.rs +++ b/src/config.rs @@ -280,8 +280,6 @@ impl Aggregate { } } -enum LinkEnd { Server, Client } - struct ResolveContext<'c> { agg: &'c Aggregate, link: &'c LinkName, diff --git a/src/types.rs b/src/types.rs index a18ee8b..ad590c0 100644 --- a/src/types.rs +++ b/src/types.rs @@ -4,6 +4,8 @@ use crate::prelude::*; +pub enum LinkEnd { Server, Client } + #[derive(Debug,Clone,Hash,Eq,PartialEq)] pub struct ServerName(pub String);