pub struct CallMethodResult(/* private fields */);Expand description
Wrapper for
UA_CallMethodResult
from open62541_sys.
This owns the wrapped data. When the wrapper is dropped, the inner value is cleaned up
with UA_clear() to release dynamically allocated memory held by the value.
Implementations§
Source§impl CallMethodResult
impl CallMethodResult
pub const fn status_code(&self) -> StatusCode
pub fn input_argument_results(&self) -> Option<Array<StatusCode>>
pub fn output_arguments(&self) -> Option<Array<Variant>>
Trait Implementations§
Source§impl Clone for CallMethodResult
impl Clone for CallMethodResult
Source§impl DataType for CallMethodResult
impl DataType for CallMethodResult
Source§type Inner = UA_CallMethodResult
type Inner = UA_CallMethodResult
Inner type. Read more
Source§unsafe fn from_raw(src: Self::Inner) -> Self
unsafe fn from_raw(src: Self::Inner) -> Self
Creates wrapper by taking ownership of value. Read more
Source§fn take_raw(src: &mut Self::Inner) -> Self
fn take_raw(src: &mut Self::Inner) -> Self
Creates wrapper by moving value from
src. Read moreSource§fn clone_into_raw(&self, dst: &mut Self::Inner)
fn clone_into_raw(&self, dst: &mut Self::Inner)
Clones value into
dst. Read moreSource§fn move_into_raw(self, dst: &mut Self::Inner)
fn move_into_raw(self, dst: &mut Self::Inner)
Moves value into
dst, giving up ownership. Read moreSource§unsafe fn to_raw_copy(this: &Self) -> Self::Inner
unsafe fn to_raw_copy(this: &Self) -> Self::Inner
Creates copy without giving up ownership. Read more
Source§unsafe fn as_mut(&mut self) -> &mut Self::Inner
unsafe fn as_mut(&mut self) -> &mut Self::Inner
Returns exclusive reference to value. Read more
Source§impl Debug for CallMethodResult
impl Debug for CallMethodResult
Source§impl Drop for CallMethodResult
impl Drop for CallMethodResult
impl Eq for CallMethodResult
Source§impl Ord for CallMethodResult
impl Ord for CallMethodResult
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for CallMethodResult
impl PartialEq for CallMethodResult
Source§impl PartialOrd for CallMethodResult
impl PartialOrd for CallMethodResult
impl Send for CallMethodResult
impl Sync for CallMethodResult
Auto Trait Implementations§
impl Freeze for CallMethodResult
impl RefUnwindSafe for CallMethodResult
impl Unpin for CallMethodResult
impl UnsafeUnpin for CallMethodResult
impl UnwindSafe for CallMethodResult
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> DataTypeExt for Twhere
T: DataType,
impl<T> DataTypeExt for Twhere
T: DataType,
Source§fn from_inner(value: <T as DataTypeExt>::Inner) -> Result<T, Error>
fn from_inner(value: <T as DataTypeExt>::Inner) -> Result<T, Error>
Creates instance for inner type. Read more
Source§fn into_inner(self) -> <T as DataTypeExt>::Inner
fn into_inner(self) -> <T as DataTypeExt>::Inner
Returns inner type representation.