[−][src]Struct opcua_server::config::ServerEndpoint
Fields
path: StringEndpoint path
security_policy: StringSecurity policy
security_mode: StringSecurity mode
security_level: u8Security level, higher being more secure
user_token_ids: BTreeSet<String>User tokens
Methods
impl ServerEndpoint[src]
pub fn new<T>(
path: T,
security_policy: SecurityPolicy,
security_mode: MessageSecurityMode,
user_token_ids: &[String]
) -> Self where
T: Into<String>, [src]
path: T,
security_policy: SecurityPolicy,
security_mode: MessageSecurityMode,
user_token_ids: &[String]
) -> Self where
T: Into<String>,
pub fn security_level(security_policy: SecurityPolicy) -> u8[src]
Recommends a security level for the supplied security policy
pub fn new_none<T>(path: T, user_token_ids: &[String]) -> Self where
T: Into<String>, [src]
T: Into<String>,
pub fn new_basic128rsa15_sign<T>(path: T, user_token_ids: &[String]) -> Self where
T: Into<String>, [src]
T: Into<String>,
pub fn new_basic128rsa15_sign_encrypt<T>(
path: T,
user_token_ids: &[String]
) -> Self where
T: Into<String>, [src]
path: T,
user_token_ids: &[String]
) -> Self where
T: Into<String>,
pub fn new_basic256_sign<T>(path: T, user_token_ids: &[String]) -> Self where
T: Into<String>, [src]
T: Into<String>,
pub fn new_basic256_sign_encrypt<T>(path: T, user_token_ids: &[String]) -> Self where
T: Into<String>, [src]
T: Into<String>,
pub fn new_basic256sha256_sign<T>(path: T, user_token_ids: &[String]) -> Self where
T: Into<String>, [src]
T: Into<String>,
pub fn new_basic256sha256_sign_encrypt<T>(
path: T,
user_token_ids: &[String]
) -> Self where
T: Into<String>, [src]
path: T,
user_token_ids: &[String]
) -> Self where
T: Into<String>,
pub fn is_valid(
&self,
id: &str,
user_tokens: &BTreeMap<String, ServerUserToken>
) -> bool[src]
&self,
id: &str,
user_tokens: &BTreeMap<String, ServerUserToken>
) -> bool
pub fn security_policy(&self) -> SecurityPolicy[src]
pub fn message_security_mode(&self) -> MessageSecurityMode[src]
pub fn endpoint_url(&self, base_endpoint: &str) -> String[src]
pub fn supports_anonymous(&self) -> bool[src]
Test if the endpoint supports anonymous users
pub fn supports_user_token_id(&self, id: &str) -> bool[src]
Trait Implementations
impl PartialEq<ServerEndpoint> for ServerEndpoint[src]
fn eq(&self, other: &ServerEndpoint) -> bool[src]
fn ne(&self, other: &ServerEndpoint) -> bool[src]
impl<'a> From<(&'a str, SecurityPolicy, MessageSecurityMode, &'a [&'a str])> for ServerEndpoint[src]
Convenience method to make an endpoint from a tuple
fn from(
v: (&'a str, SecurityPolicy, MessageSecurityMode, &'a [&'a str])
) -> ServerEndpoint[src]
v: (&'a str, SecurityPolicy, MessageSecurityMode, &'a [&'a str])
) -> ServerEndpoint
impl Clone for ServerEndpoint[src]
fn clone(&self) -> ServerEndpoint[src]
fn clone_from(&mut self, source: &Self)1.0.0[src]
Performs copy-assignment from source. Read more
impl Debug for ServerEndpoint[src]
impl<'de> Deserialize<'de> for ServerEndpoint[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>, [src]
__D: Deserializer<'de>,
impl Serialize for ServerEndpoint[src]
Auto Trait Implementations
impl Send for ServerEndpoint
impl Sync for ServerEndpoint
Blanket Implementations
impl<T, U> Into 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> From for T[src]
impl<T, U> TryFrom 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> Borrow for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> BorrowMut for T where
T: ?Sized, [src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T[src]
impl<T, U> TryInto 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<T> DeserializeOwned for T where
T: Deserialize<'de>, [src]
T: Deserialize<'de>,