Module rpc

Source
Expand description

This module contains the service definitions.

Structs§

MusicPlayerClient
The client stub that makes RPC calls to the server. All request methods return Futures.
SearchResult
ServeMusicPlayer
A serving function to use with ::tarpc::server::InFlightRequest::execute.

Enums§

MusicPlayerRequest
The request sent over the wire from the client to the server.
MusicPlayerResponse
The response sent over the wire from the server to the client.

Traits§

MusicPlayer
The music player service, implemented by the music player daemon.
MusicPlayerStub
The stub trait for service MusicPlayer.

Functions§

init_client
Initialize the music player client

Type Aliases§

AlbumId
ArtistId
CollectionId
DynamicPlaylistId
PlaylistId
SongId