Skip to main content

Command

Trait Command 

Source
pub trait Command: ToXml + Debug {
    type Response: FromXmlOwned + Debug;

    const COMMAND: &'static str;
}

Required Associated Constants§

Source

const COMMAND: &'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 Command for Ack<'_>

Source§

const COMMAND: &'static str = "poll"

Source§

type Response = String

Source§

impl Command for Logout

Source§

const COMMAND: &'static str = "logout"

Source§

type Response = ()

Source§

impl Command for Poll

Source§

const COMMAND: &'static str = "poll"

Source§

type Response = PollData

Source§

impl<'a> Command for ContactCheck<'a>

Source§

const COMMAND: &'static str = "check"

Source§

type Response = CheckData

Source§

impl<'a> Command for ContactCreate<'a>

Source§

const COMMAND: &'static str = "create"

Source§

type Response = CreateData

Source§

impl<'a> Command for ContactDelete<'a>

Source§

const COMMAND: &'static str = "delete"

Source§

type Response = ()

Source§

impl<'a> Command for ContactInfo<'a>

Source§

const COMMAND: &'static str = "info"

Source§

type Response = InfoData

Source§

impl<'a> Command for ContactUpdate<'a>

Source§

const COMMAND: &'static str = "update"

Source§

type Response = ()

Source§

impl<'a> Command for DomainCheck<'a>

Source§

const COMMAND: &'static str = "check"

Source§

type Response = CheckData

Source§

impl<'a> Command for DomainCreate<'a>

Source§

const COMMAND: &'static str = "create"

Source§

type Response = CreateData

Source§

impl<'a> Command for DomainDelete<'a>

Source§

const COMMAND: &'static str = "delete"

Source§

type Response = ()

Source§

impl<'a> Command for DomainInfo<'a>

Source§

const COMMAND: &'static str = "info"

Source§

type Response = InfoData

Source§

impl<'a> Command for DomainRenew<'a>

Source§

const COMMAND: &'static str = "renew"

Source§

type Response = RenewData

Source§

impl<'a> Command for DomainTransfer<'a>

Source§

const COMMAND: &'static str = "transfer"

Source§

type Response = TransferData

Source§

impl<'a> Command for DomainUpdate<'a>

Source§

const COMMAND: &'static str = "update"

Source§

type Response = ()

Source§

impl<'a> Command for HostCheck<'a>

Source§

const COMMAND: &'static str = "check"

Source§

type Response = CheckData

Source§

impl<'a> Command for HostCreate<'a>

Source§

const COMMAND: &'static str = "create"

Source§

type Response = CreateData

Source§

impl<'a> Command for HostDelete<'a>

Source§

const COMMAND: &'static str = "delete"

Source§

type Response = ()

Source§

impl<'a> Command for HostInfo<'a>

Source§

const COMMAND: &'static str = "info"

Source§

type Response = InfoData

Source§

impl<'a> Command for HostUpdate<'a>

Source§

const COMMAND: &'static str = "update"

Source§

type Response = ()

Source§

impl<'a> Command for Login<'a>

Source§

const COMMAND: &'static str = "login"

Source§

type Response = ()