#[non_exhaustive]pub enum ServerMessagePayload {
Invoke(InvokeRequest),
CreateCells(CreateCellsRequest),
ExtractData(ExtractDataRequest),
GetConfigSchema(GetConfigSchemaRequest),
GetSupportedQueryTypes(GetSupportedQueryTypesRequest),
}Expand description
Messages sent to the Proxy
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Invoke(InvokeRequest)
A request to call the invoke or invoke2 exported binding
CreateCells(CreateCellsRequest)
A request to call the create_cells exported binding
ExtractData(ExtractDataRequest)
A request to call the extract_data exported binding
GetConfigSchema(GetConfigSchemaRequest)
A request to call the get_config_schema exported binding
GetSupportedQueryTypes(GetSupportedQueryTypesRequest)
A request to call the get_supported_query_types exported binding
Trait Implementations§
source§impl Debug for ServerMessagePayload
impl Debug for ServerMessagePayload
source§impl<'de> Deserialize<'de> for ServerMessagePayload
impl<'de> Deserialize<'de> for ServerMessagePayload
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
Auto Trait Implementations§
impl !Freeze for ServerMessagePayload
impl RefUnwindSafe for ServerMessagePayload
impl Send for ServerMessagePayload
impl Sync for ServerMessagePayload
impl Unpin for ServerMessagePayload
impl UnwindSafe for ServerMessagePayload
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