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
sourceimpl ConnectionExprSource
impl ConnectionExprSource
pub fn resolve_expr(&self) -> Result<ConnectionExpr, Error>
Trait Implementations
sourceimpl Debug for ConnectionExprSource
impl Debug for ConnectionExprSource
sourceimpl From<&'_ ConnectionExpr> for ConnectionExprSource
impl From<&'_ ConnectionExpr> for ConnectionExprSource
sourcefn from(e: &ConnectionExpr) -> Self
fn from(e: &ConnectionExpr) -> Self
Converts to this type from the input type.
sourceimpl From<ConnectionExpr> for ConnectionExprSource
impl From<ConnectionExpr> for ConnectionExprSource
sourcefn 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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more