[][src]Struct opcua_server::address_space::method::Method

pub struct Method { /* fields omitted */ }

A Method is a type of node within the AddressSpace.

Implementations

impl Method[src]

pub fn new<R, S>(
    node_id: &NodeId,
    browse_name: R,
    display_name: S,
    executable: bool,
    user_executable: bool
) -> Method where
    R: Into<QualifiedName>,
    S: Into<LocalizedText>, 
[src]

pub fn from_attributes<S>(
    node_id: &NodeId,
    browse_name: S,
    attributes: MethodAttributes
) -> Result<Self, ()> where
    S: Into<QualifiedName>, 
[src]

pub fn is_valid(&self) -> bool[src]

pub fn executable(&self) -> bool[src]

pub fn set_executable(&mut self, executable: bool)[src]

pub fn user_executable(&self) -> bool[src]

pub fn set_user_executable(&mut self, user_executable: bool)[src]

pub fn set_callback(&mut self, callback: Box<dyn Method + Send + Sync>)[src]

pub fn has_callback(&self) -> bool[src]

pub fn call(
    &mut self,
    session: &mut Session,
    request: &CallMethodRequest
) -> Result<CallMethodResult, StatusCode>
[src]

Trait Implementations

impl Debug for Method[src]

impl Default for Method[src]

impl Into<NodeType> for Method[src]

impl Node for Method[src]

impl NodeBase for Method[src]

Auto Trait Implementations

impl !RefUnwindSafe for Method

impl Send for Method

impl Sync for Method

impl Unpin for Method

impl !UnwindSafe for Method

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,