Skip to main content

view

Function view 

Source
pub fn view(
    kind: Option<ConnectionType>,
    values: &Map<String, Value>,
    dir: &Path,
) -> Result<View, String>
Expand description

The view of a connection of type kind (a @connection function’s: None), its values rendered and shown as plain JSON, its files to go in dir.

§Errors

A value a tool’s file can’t hold (a quote in an SSH config’s value), a password given twice, a parameter that can’t be a variable’s name.