[−][src]Struct opcua_server::prelude::RelativePath
Fields
elements: Option<Vec<RelativePathElement>>Implementations
impl RelativePath[src]
pub fn from_str<CB>(path: &str, node_resolver: &CB) -> Result<RelativePath, ()> where
CB: Fn(u16, &str) -> Option<NodeId>, [src]
CB: Fn(u16, &str) -> Option<NodeId>,
Converts a string into a relative path. Caller must supply a node_resolver which will
be used to look up nodes from their browse name. The function will reject strings
that look unusually long or contain too many elements.
Trait Implementations
impl BinaryEncoder<RelativePath> for RelativePath[src]
fn byte_len(&self) -> usize[src]
fn encode<S>(&self, stream: &mut S) -> Result<usize, StatusCode> where
S: Write, [src]
S: Write,
fn decode<S>(
stream: &mut S,
decoding_limits: &DecodingLimits
) -> Result<RelativePath, StatusCode> where
S: Read, [src]
stream: &mut S,
decoding_limits: &DecodingLimits
) -> Result<RelativePath, StatusCode> where
S: Read,
fn encode_to_vec(&self) -> Vec<u8>[src]
impl Clone for RelativePath[src]
fn clone(&self) -> RelativePath[src]
fn clone_from(&mut self, source: &Self)1.0.0[src]
impl Debug for RelativePath[src]
impl MessageInfo for RelativePath[src]
impl PartialEq<RelativePath> for RelativePath[src]
fn eq(&self, other: &RelativePath) -> bool[src]
fn ne(&self, other: &RelativePath) -> bool[src]
impl StructuralPartialEq for RelativePath[src]
Auto Trait Implementations
impl RefUnwindSafe for RelativePath
impl Send for RelativePath
impl Sync for RelativePath
impl Unpin for RelativePath
impl UnwindSafe for RelativePath
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> ToOwned for T where
T: Clone, [src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T[src]
fn clone_into(&self, target: &mut T)[src]
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>,