pub enum AsyncModel {
Tokio,
AsyncStd,
NoneKnown,
Unknown,
}Expand description
The async runtime posture inferred from dependencies.
Variants§
Tokio
The repo uses Tokio.
AsyncStd
The repo uses async-std.
NoneKnown
The repo does not appear to use an async runtime.
Unknown
The runtime is not obvious yet.
Trait Implementations§
Source§impl Clone for AsyncModel
impl Clone for AsyncModel
Source§fn clone(&self) -> AsyncModel
fn clone(&self) -> AsyncModel
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 AsyncModel
impl Debug for AsyncModel
Source§impl<'de> Deserialize<'de> for AsyncModel
impl<'de> Deserialize<'de> for AsyncModel
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for AsyncModel
impl PartialEq for AsyncModel
Source§impl Serialize for AsyncModel
impl Serialize for AsyncModel
impl Copy for AsyncModel
impl Eq for AsyncModel
impl StructuralPartialEq for AsyncModel
Auto Trait Implementations§
impl Freeze for AsyncModel
impl RefUnwindSafe for AsyncModel
impl Send for AsyncModel
impl Sync for AsyncModel
impl Unpin for AsyncModel
impl UnsafeUnpin for AsyncModel
impl UnwindSafe for AsyncModel
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<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.