Struct tspf::TspBuilder [−][src]
pub struct TspBuilder { /* fields omitted */ }
Expand description
Responsible for constructing an instance of Tsp
.
Implementations
Parses an input string.
If all entries in the input string are valid, a Tsp
object will be returned. Otherwise,
an error ParseTspError
is returned, containing hints why the parsing fails.
Parses the content of a file given from a path.
If all entries in the input file are valid, a Tsp
object will be returned. Otherwise,
an error ParseTspError
is returned, containing hints why the parsing fails.
Validates the inputs and constructs a Tsp
object if the validation is successful.
Otherwise, returns an error ParseTspError
.
Trait Implementations
Returns the “default value” for a type. Read more
Auto Trait Implementations
impl RefUnwindSafe for TspBuilder
impl Send for TspBuilder
impl Sync for TspBuilder
impl Unpin for TspBuilder
impl UnwindSafe for TspBuilder