Enum ethers_iqkms::types::PathOrString
source · [−]Expand description
A type that can either be a Path or a String
Variants
Path(PathBuf)
A path type
String(String)
A string type
Implementations
Trait Implementations
sourceimpl Clone for PathOrString
impl Clone for PathOrString
sourcefn clone(&self) -> PathOrString
fn clone(&self) -> PathOrString
Returns a copy of the value. Read more
1.0.0 · sourceconst fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresourceimpl Debug for PathOrString
impl Debug for PathOrString
sourceimpl From<&str> for PathOrString
impl From<&str> for PathOrString
sourcefn from(s: &str) -> PathOrString
fn from(s: &str) -> PathOrString
Converts to this type from the input type.
sourceimpl From<PathBuf> for PathOrString
impl From<PathBuf> for PathOrString
sourcefn from(p: PathBuf) -> PathOrString
fn from(p: PathBuf) -> PathOrString
Converts to this type from the input type.
sourceimpl PartialEq<PathOrString> for PathOrString
impl PartialEq<PathOrString> for PathOrString
sourcefn eq(&self, other: &PathOrString) -> bool
fn eq(&self, other: &PathOrString) -> bool
impl Eq for PathOrString
impl StructuralEq for PathOrString
impl StructuralPartialEq for PathOrString
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
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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
sourceimpl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
sourcefn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
sourcefn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T in a tonic::Request