[−][src]Struct opcua_server::address_space::method::Method
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]
node_id: &NodeId,
browse_name: R,
display_name: S,
executable: bool,
user_executable: bool
) -> Method where
R: Into<QualifiedName>,
S: Into<LocalizedText>,
pub fn from_attributes<S>(
node_id: &NodeId,
browse_name: S,
attributes: MethodAttributes
) -> Result<Self, ()> where
S: Into<QualifiedName>, [src]
node_id: &NodeId,
browse_name: S,
attributes: MethodAttributes
) -> Result<Self, ()> where
S: Into<QualifiedName>,
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]
&mut self,
session: &mut Session,
request: &CallMethodRequest
) -> Result<CallMethodResult, StatusCode>
Trait Implementations
impl Debug for Method[src]
impl Default for Method[src]
impl Into<NodeType> for Method[src]
impl Node for Method[src]
fn get_attribute_max_age(
&self,
timestamps_to_return: TimestampsToReturn,
attribute_id: AttributeId,
index_range: NumericRange,
data_encoding: &QualifiedName,
max_age: f64
) -> Option<DataValue>[src]
&self,
timestamps_to_return: TimestampsToReturn,
attribute_id: AttributeId,
index_range: NumericRange,
data_encoding: &QualifiedName,
max_age: f64
) -> Option<DataValue>
fn set_attribute(
&mut self,
attribute_id: AttributeId,
value: Variant
) -> Result<(), StatusCode>[src]
&mut self,
attribute_id: AttributeId,
value: Variant
) -> Result<(), StatusCode>
fn get_attribute(
&self,
timestamps_to_return: TimestampsToReturn,
attribute_id: AttributeId,
index_range: NumericRange,
data_encoding: &QualifiedName
) -> Option<DataValue>[src]
&self,
timestamps_to_return: TimestampsToReturn,
attribute_id: AttributeId,
index_range: NumericRange,
data_encoding: &QualifiedName
) -> Option<DataValue>
impl NodeBase for Method[src]
fn node_class(&self) -> NodeClass[src]
fn node_id(&self) -> NodeId[src]
fn browse_name(&self) -> QualifiedName[src]
fn display_name(&self) -> LocalizedText[src]
fn set_display_name(&mut self, display_name: LocalizedText)[src]
fn description(&self) -> Option<LocalizedText>[src]
fn set_description(&mut self, description: LocalizedText)[src]
fn write_mask(&self) -> Option<WriteMask>[src]
fn set_write_mask(&mut self, write_mask: WriteMask)[src]
fn user_write_mask(&self) -> Option<WriteMask>[src]
fn set_user_write_mask(&mut self, user_write_mask: WriteMask)[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]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T[src]
impl<T> From<T> for T[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,