Enum ethers_core::types::PathOrString [−][src]
Expand description
A type that can either be a Path
or a String
Variants
Path(PathBuf)
A path type
Tuple Fields of Path
0: PathBuf
String(String)
A string type
Tuple Fields of String
0: String
Implementations
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for PathOrString
impl Send for PathOrString
impl Sync for PathOrString
impl Unpin for PathOrString
impl UnwindSafe for PathOrString
Blanket Implementations
Mutably borrows from an owned value. Read more