Structs§
- Authentication
Challenge Response - This is what wamp-async-rs users are expected to return from
on_challenge_handler
during the authentication flow. - Client
- Allows interaction as a client with a WAMP server
- Client
Config - Options one can set when connecting to a WAMP server
- WampId
- id: an integer ID as defined in IDs
Enums§
- Arg
- Generic enum that can hold any concrete WAMP value
- Authentication
Method - All the supported authentication methods WAMP-proto defines.
- Client
Role - All roles a client can be
- Client
State - All the states a client can be in
- Serializer
Type - Message serialization algorithms
- Server
Role - All the supported roles a server can have
- Wamp
Error - Types of errors a WAMP client can encounter
Functions§
- is_
valid_ strict_ uri - Returns whether a uri is valid or not (using strict rules)
- try_
from_ any_ value - Convert WampPayloadValue into any serde-deserializable object
- try_
from_ args - Convert WampArgs into any serde-deserializable object
- try_
from_ kwargs - Convert WampArgs into any serde-deserializable object
- try_
into_ any_ value - Convert any serde-serializable object into WampPayloadValue
- try_
into_ args - Convert any serde-serializable object into WampArgs
- try_
into_ kwargs - Convert any serde-serializable object into WampKwArgs
Type Aliases§
- Authentication
Challenge Handler - Authentication Challenge function that should handle a CHALLENGE request during authentication flow.
See more details in
crate::Client::join_realm_with_authentication
- Generic
Future - Future that can return success or an error
- RpcFunc
- Generic function that can receive RPC calls
- RpcFuture
- Type returned by RPC functions
- Wamp
Args - Unnamed WAMP argument list
- Wamp
Bool - bool: a boolean value (true or false)
- Wamp
Dict - dict: a dictionary (map) where keys MUST be strings
- Wamp
Integer - integer: a non-negative integer
- Wamp
KwArgs - Named WAMP argument map
- Wamp
List - list: a list (array) where items can be of any type
- Wamp
Payload Value - Arbitrary values supported by the serialization format in the payload
- Wamp
String - string: a Unicode string, including the empty string
- WampUri
- uri: a string URI as defined in URIs