Generate core runtime API shims
This commit is contained in:
@@ -66,6 +66,47 @@ pub struct XmlTextWriter(pub String);
|
||||
#[derive(Clone, Copy, Debug, Default, Eq, Hash, PartialEq)]
|
||||
pub struct CancellationToken;
|
||||
|
||||
#[derive(Clone, Copy, Debug, Default, Eq, Hash, PartialEq)]
|
||||
pub struct Subscription;
|
||||
|
||||
pub struct EventHandler<T>(pub PhantomData<fn(T)>);
|
||||
|
||||
pub struct DictionaryKeys<TKey, TValue>(pub Vec<TKey>, pub PhantomData<fn(TValue)>);
|
||||
|
||||
pub struct DictionaryEntry(pub Object, pub Object);
|
||||
|
||||
pub struct RateLimitLease;
|
||||
|
||||
pub struct CancellationTokenSource;
|
||||
|
||||
pub trait Close {}
|
||||
|
||||
pub struct Thread;
|
||||
|
||||
pub struct Task<T>(pub PhantomData<fn() -> T>);
|
||||
|
||||
pub struct TaskCompletionSource<T>(pub PhantomData<fn(T)>);
|
||||
|
||||
pub struct TimeProvider;
|
||||
|
||||
pub struct MediaTypeHeaderValue(pub String);
|
||||
|
||||
pub struct HttpMessageHandler;
|
||||
|
||||
pub struct HttpClient;
|
||||
|
||||
pub struct HttpResponse;
|
||||
|
||||
pub struct HttpMethod(pub String);
|
||||
|
||||
pub struct AuthenticationHeaderValue(pub String);
|
||||
|
||||
pub trait IProgress<T> {}
|
||||
|
||||
pub struct IEnumerator;
|
||||
|
||||
pub struct WaitHandle;
|
||||
|
||||
#[derive(Clone, Debug)]
|
||||
pub struct FrozenDictionary<TKey, TValue>(pub std::collections::HashMap<TKey, TValue>);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user