pub enum ConnectionExprSource {
Direct(ConnectionExpr),
PortFile {
path: Option<PathBuf>,
wait_for: Option<Duration>,
},
}Variants§
Direct(ConnectionExpr)
Use this connection expression.
PortFile
Fields
Read the connection expression from the port file.
Implementations§
source§impl ConnectionExprSource
impl ConnectionExprSource
pub fn resolve_expr(&self) -> Result<ConnectionExpr, Error>
Trait Implementations§
source§impl Debug for ConnectionExprSource
impl Debug for ConnectionExprSource
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.
Auto Trait Implementations§
impl RefUnwindSafe for ConnectionExprSource
impl Send for ConnectionExprSource
impl Sync for ConnectionExprSource
impl Unpin for ConnectionExprSource
impl UnwindSafe for ConnectionExprSource
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