Enum ffsend_api::api::DesiredVersion [−][src]
Expand description
A desired version to use for communicating with a Send server.
Various options are available, to use an exact version, or to look it up at runtime.
Variants
Use just the given API version when communicating with a Send server.
Tuple Fields of Use
0: Version
Assume the given API version when communicating with a Send version, but attempt to look up the correct version if communication fails.
Tuple Fields of Assume
0: Version
Attempt to look up the server API version at runtime.
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 DesiredVersion
impl Send for DesiredVersion
impl Sync for DesiredVersion
impl Unpin for DesiredVersion
impl UnwindSafe for DesiredVersion
Blanket Implementations
Mutably borrows from an owned value. Read more
Compare self to key
and return true
if they are equal.
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
type Output = T
type Output = T
Should always be Self