Expand description
§Features
All features are enabled by default unless otherwise noted. For most scenarios, you’ll want the features. However, in some scenarios, such as:
- integrating Rust into an existing Service Fabric Application written in another language
- when you are using the lower-level COM API to do something more custom You might not need all of the functionality that the mssf-core crate provides In this case, you can configure only what you need to reduce dependencies and compile times.
-
** config_source ** - Provides an implementation of config::Source. Requires config_rs crate
-
** Tokio ** - A lot of the sophoisticated functionality in this crate requires Tokio. However, even without tokio, some of the higher level wrappers over COM types have utility.
Re-exports§
pub use api::API_TABLE;
Modules§
- api
- Dynamically load SF libs and c functions. SF shared lib provides these functions, and we dynamically load them here so that user of this crate does not need to worry about installing SF lib and linking, which can be complex.
- client
- conf
- debug
- runtime
- strings
- sync
- types
Structs§
- Error
- Make passing error code to SF api easier. Provides conversion from windows errors or fabric error code to windows_core::Error. All safe code uses this Error, and bridge and proxy code needs to convert this Error into/from WinError.
- GUID
- A globally unique identifier (GUID) used to identify COM and WinRT interfaces.
- HRESULT
- An error code value returned by most COM functions.
- PCWSTR
- WString
- WString is the utf16 string, similar to std::wstring in cpp. It is used for passing utf16 string buffers between Rust and COM.
- WinError
- Windows error type. An error object consists of both an error code and optional detailed error information for debugging.
Enums§
Traits§
- Interface
- Provides low-level access to an interface vtable.