Trait Method

pub trait Method {
    type Protocol;
    type Request;
    type Response;

    const ORDINAL: u64;
}
Expand description

A method of a protocol.

Required Associated Constants§

const ORDINAL: u64

The ordinal associated with the method;

Required Associated Types§

type Protocol

The protocol the method is a member of.

type Request

The request payload for the method.

type Response

The response payload for the method.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§

impl Method for Add

impl Method for Clear

impl Method for Divide

impl Method for OnError

impl Method for Next

impl Method for Destroy

impl Method for GetExposedDictionary

impl Method for IsStarted

impl Method for Start

impl Method for GetNext

impl Method for WaitForReady

impl Method for OnStop

impl Method for Stop

impl Method for GetMoniker

impl Method for Create

impl Method for CreateChild

impl Method for DestroyChild

impl Method for GetResolvedInfo

impl Method for ListChildren

impl Method for OpenController

impl Method for OpenExposedDir

impl Method for Resolve

impl Method for ResolveWithContext

impl Method for Kill

impl Method for OnEscrow

impl Method for OnPublishDiagnostics

impl Method for OnStop

impl Method for Stop

impl Method for Start

impl Method for GetJob

impl Method for ConnectorCreate

impl Method for ConnectorOpen

impl Method for DictionaryCopy

impl Method for DictionaryCreate

impl Method for DictionaryDrain

impl Method for DictionaryEnumerate

impl Method for DictionaryGet

impl Method for DictionaryInsert

impl Method for DictionaryKeys

impl Method for DictionaryLegacyExport

impl Method for DictionaryLegacyImport

impl Method for DictionaryRemove

impl Method for DirConnectorCreate

impl Method for DirConnectorOpen

impl Method for Drop

impl Method for Duplicate

impl Method for Export

impl Method for Import

impl Method for Route

impl Method for Route

impl Method for GetNext

impl Method for GetNext

impl Method for GetNext

impl Method for Route

impl Method for Route

impl Method for Route

impl Method for Receive

impl Method for Route

impl Method for Receive

impl Method for Connect

impl Method for GetTopologicalPath

impl Method for AddSpec

impl Method for Start

impl Method for Stop

impl Method for AddChild

impl Method for OnBind

impl Method for Remove

impl Method for RequestBind

impl Method for GetEvent

impl Method for GetHardwareId

impl Method for AdvisoryLock

impl Method for AdvisoryLock

impl Method for Clone

impl Method for Close

impl Method for CreateSymlink

impl Method for DeprecatedClone

impl Method for DeprecatedGetFlags

impl Method for DeprecatedOpen

impl Method for DeprecatedSetFlags

impl Method for GetAttr

impl Method for GetAttributes

impl Method for GetConnectionInfo

impl Method for GetExtendedAttribute

impl Method for GetFlags

impl Method for GetToken

impl Method for Link

impl Method for ListExtendedAttributes

impl Method for OnOpen

impl Method for OnRepresentation

impl Method for Open

impl Method for Query

impl Method for QueryFilesystem

impl Method for ReadDirents

impl Method for RemoveExtendedAttribute

impl Method for Rename

impl Method for Rewind

impl Method for SetAttr

impl Method for SetExtendedAttribute

impl Method for SetFlags

impl Method for Sync

impl Method for Unlink

impl Method for UpdateAttributes

impl Method for Watch

impl Method for GetNext

impl Method for AdvisoryLock

impl Method for Allocate

impl Method for Clone

impl Method for Close

impl Method for DeprecatedClone

impl Method for DeprecatedGetFlags

impl Method for DeprecatedSetFlags

impl Method for Describe

impl Method for EnableVerity

impl Method for GetAttr

impl Method for GetAttributes

impl Method for GetBackingMemory

impl Method for GetConnectionInfo

impl Method for GetExtendedAttribute

impl Method for GetFlags

impl Method for LinkInto

impl Method for ListExtendedAttributes

impl Method for OnOpen

impl Method for OnRepresentation

impl Method for Query

impl Method for QueryFilesystem

impl Method for Read

impl Method for ReadAt

impl Method for RemoveExtendedAttribute

impl Method for Resize

impl Method for Seek

impl Method for SetAttr

impl Method for SetExtendedAttribute

impl Method for SetFlags

impl Method for Sync

impl Method for UpdateAttributes

impl Method for Write

impl Method for WriteAt

impl Method for LinkInto

impl Method for Clone

impl Method for Close

impl Method for DeprecatedClone

impl Method for DeprecatedGetFlags

impl Method for DeprecatedSetFlags

impl Method for GetAttr

impl Method for GetAttributes

impl Method for GetConnectionInfo

impl Method for GetExtendedAttribute

impl Method for GetFlags

impl Method for ListExtendedAttributes

impl Method for OnOpen

impl Method for OnRepresentation

impl Method for Query

impl Method for QueryFilesystem

impl Method for RemoveExtendedAttribute

impl Method for SetAttr

impl Method for SetExtendedAttribute

impl Method for SetFlags

impl Method for Sync

impl Method for UpdateAttributes

impl Method for Read

impl Method for Clone

impl Method for Close

impl Method for DeprecatedClone

impl Method for DeprecatedGetFlags

impl Method for DeprecatedSetFlags

impl Method for Describe

impl Method for GetAttr

impl Method for GetAttributes

impl Method for GetConnectionInfo

impl Method for GetExtendedAttribute

impl Method for GetFlags

impl Method for LinkInto

impl Method for ListExtendedAttributes

impl Method for OnOpen

impl Method for OnRepresentation

impl Method for Query

impl Method for QueryFilesystem

impl Method for RemoveExtendedAttribute

impl Method for SetAttr

impl Method for SetExtendedAttribute

impl Method for SetFlags

impl Method for Sync

impl Method for UpdateAttributes

impl Method for Write

impl Method for Clone

impl Method for Config

impl Method for Done

impl Method for LoadObject

impl Method for AddArgs

impl Method for AddEnvirons

impl Method for AddHandles

impl Method for AddNames

impl Method for CreateWithoutStarting

impl Method for Launch

impl Method for SetOptions

impl Method for Resolve

impl Method for Clone

impl Method for Close

impl Method for Query