Skip to main content

ViturRequest

Trait ViturRequest 

Source
pub trait ViturRequest:
    Serialize
    + for<'de> Deserialize<'de>
    + Sized
    + Send {
    type Response: ViturResponse;

    const SCOPE: Scope;
    const ENDPOINT: &'static str;
}

Required Associated Constants§

Source

const SCOPE: Scope

Source

const ENDPOINT: &'static str

Required Associated Types§

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§

Source§

impl ViturRequest for CreateClientRequest<'_>

Source§

const ENDPOINT: &'static str = "create-client"

Source§

const SCOPE: Scope

Source§

type Response = CreateClientResponse

Source§

impl ViturRequest for CreateKeysetRequest<'_>

Source§

const ENDPOINT: &'static str = "create-keyset"

Source§

const SCOPE: Scope

Source§

type Response = CreateKeysetResponse

Source§

impl ViturRequest for DeleteClientRequest

Source§

const ENDPOINT: &'static str = "delete-client"

Source§

const SCOPE: Scope

Source§

type Response = DeleteClientResponse

Source§

impl ViturRequest for DisableKeysetRequest

Source§

const ENDPOINT: &'static str = "disable-keyset"

Source§

const SCOPE: Scope

Source§

type Response = EmptyResponse

Source§

impl ViturRequest for EnableKeysetRequest

Source§

const ENDPOINT: &'static str = "enable-keyset"

Source§

const SCOPE: Scope

Source§

type Response = EmptyResponse

Source§

impl ViturRequest for GenerateKeyRequest<'_>

Source§

const ENDPOINT: &'static str = "generate-data-key"

Source§

const SCOPE: Scope

Source§

type Response = GenerateKeyResponse

Source§

impl ViturRequest for GrantKeysetRequest

Source§

const ENDPOINT: &'static str = "grant-keyset"

Source§

const SCOPE: Scope

Source§

type Response = EmptyResponse

Source§

impl ViturRequest for ListClientRequest

Source§

const ENDPOINT: &'static str = "list-clients"

Source§

const SCOPE: Scope

Source§

type Response = Vec<KeysetClient>

Source§

impl ViturRequest for ListKeysetRequest

Source§

const ENDPOINT: &'static str = "list-keysets"

Source§

const SCOPE: Scope

Source§

type Response = Vec<Keyset>

Source§

impl ViturRequest for LoadKeysetRequest

Source§

const ENDPOINT: &'static str = "load-keyset"

Source§

const SCOPE: Scope

Source§

type Response = LoadKeysetResponse

Source§

impl ViturRequest for ModifyKeysetRequest<'_>

Source§

const ENDPOINT: &'static str = "modify-keyset"

Source§

const SCOPE: Scope

Source§

type Response = EmptyResponse

Source§

impl ViturRequest for RetrieveKeyRequest<'_>

Source§

const ENDPOINT: &'static str = "retrieve-data-key"

Source§

const SCOPE: Scope

Source§

type Response = RetrieveKeyResponse

Source§

impl ViturRequest for RetrieveKeyRequestFallible<'_>

Source§

const ENDPOINT: &'static str = "retrieve-data-key-fallible"

Source§

const SCOPE: Scope

Source§

type Response = RetrieveKeyResponseFallible

Source§

impl ViturRequest for RevokeKeysetRequest

Source§

const ENDPOINT: &'static str = "revoke-keyset"

Source§

const SCOPE: Scope

Source§

type Response = EmptyResponse