pub enum HttpNfcLeaseStateEnum {
Initializing,
Ready,
Done,
Error,
Other_(String),
}Expand description
List of possible states of a lease.
Possible values:
initializing: When the lease is being initialized.ready: When the lease is ready and disks may be transferred.done: When the import/export session is completed, and the lease is no longer held.error: When an error has occurred.
§How to access
HttpNfcLease::state
Variants§
Implementations§
Trait Implementations§
Source§impl AsRef<str> for HttpNfcLeaseStateEnum
impl AsRef<str> for HttpNfcLeaseStateEnum
Source§impl Clone for HttpNfcLeaseStateEnum
impl Clone for HttpNfcLeaseStateEnum
Source§fn clone(&self) -> HttpNfcLeaseStateEnum
fn clone(&self) -> HttpNfcLeaseStateEnum
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for HttpNfcLeaseStateEnum
impl Debug for HttpNfcLeaseStateEnum
Source§impl Deserialize for HttpNfcLeaseStateEnum
impl Deserialize for HttpNfcLeaseStateEnum
Source§impl Display for HttpNfcLeaseStateEnum
impl Display for HttpNfcLeaseStateEnum
Source§impl<'a> From<&'a HttpNfcLeaseStateEnum> for &'a str
impl<'a> From<&'a HttpNfcLeaseStateEnum> for &'a str
Source§fn from(value: &'a HttpNfcLeaseStateEnum) -> Self
fn from(value: &'a HttpNfcLeaseStateEnum) -> Self
Converts to this type from the input type.
Source§impl Hash for HttpNfcLeaseStateEnum
impl Hash for HttpNfcLeaseStateEnum
Source§impl PartialEq for HttpNfcLeaseStateEnum
impl PartialEq for HttpNfcLeaseStateEnum
impl Eq for HttpNfcLeaseStateEnum
impl StructuralPartialEq for HttpNfcLeaseStateEnum
Auto Trait Implementations§
impl Freeze for HttpNfcLeaseStateEnum
impl RefUnwindSafe for HttpNfcLeaseStateEnum
impl Send for HttpNfcLeaseStateEnum
impl Sync for HttpNfcLeaseStateEnum
impl Unpin for HttpNfcLeaseStateEnum
impl UnsafeUnpin for HttpNfcLeaseStateEnum
impl UnwindSafe for HttpNfcLeaseStateEnum
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<To, T> CastInto<To> for T
impl<To, T> CastInto<To> for T
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> PolicyExt for Twhere
T: ?Sized,
impl<T> PolicyExt for Twhere
T: ?Sized,
Source§impl<T> ToStringFallible for Twhere
T: Display,
impl<T> ToStringFallible for Twhere
T: Display,
Source§fn try_to_string(&self) -> Result<String, TryReserveError>
fn try_to_string(&self) -> Result<String, TryReserveError>
ToString::to_string, but without panic on OOM.