Crate wamp_async[][src]

Structs

AuthenticationChallengeResponse

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

ClientConfig

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

AuthenticationMethod

All the supported authentication methods WAMP-proto defines.

ClientRole

All roles a client can be

ClientState

All the states a client can be in

SerializerType

Message serialization algorithms

ServerRole

All the supported roles a server can have

WampError

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 Definitions

AuthenticationChallengeHandler

Authentication Challenge function that should handle a CHALLENGE request during authentication flow. See more details in crate::Client::join_realm_with_authentication

GenericFuture

Future that can return success or an error

RpcFunc

Generic function that can receive RPC calls

RpcFuture

Type returned by RPC functions

WampArgs

Unnamed WAMP argument list

WampBool

bool: a boolean value (true or false)

WampDict

dict: a dictionary (map) where keys MUST be strings

WampInteger

integer: a non-negative integer

WampKwArgs

Named WAMP argument map

WampList

list: a list (array) where items can be of any type

WampPayloadValue

Arbitrary values supported by the serialization format in the payload

WampString

string: a Unicode string, including the empty string

WampUri

uri: a string URI as defined in URIs