pub trait MicrosoftExt {
Show 118 methods
// Required methods
fn get_ms_chap_response(&self) -> Option<Vec<u8>>;
fn set_ms_chap_response(&mut self, value: impl Into<Vec<u8>>);
fn get_ms_chap_error(&self) -> Option<String>;
fn set_ms_chap_error(&mut self, value: impl Into<String>);
fn get_ms_chap_cpw_1(&self) -> Option<Vec<u8>>;
fn set_ms_chap_cpw_1(&mut self, value: impl Into<Vec<u8>>);
fn get_ms_chap_cpw_2(&self) -> Option<Vec<u8>>;
fn set_ms_chap_cpw_2(&mut self, value: impl Into<Vec<u8>>);
fn get_ms_chap_lm_enc_pw(&self) -> Option<Vec<u8>>;
fn set_ms_chap_lm_enc_pw(&mut self, value: impl Into<Vec<u8>>);
fn get_ms_chap_nt_enc_pw(&self) -> Option<Vec<u8>>;
fn set_ms_chap_nt_enc_pw(&mut self, value: impl Into<Vec<u8>>);
fn get_ms_mppe_encryption_policy(&self) -> Option<MsMppeEncryptionPolicy>;
fn set_ms_mppe_encryption_policy(&mut self, value: MsMppeEncryptionPolicy);
fn get_ms_mppe_encryption_type(&self) -> Option<u32>;
fn set_ms_mppe_encryption_type(&mut self, value: u32);
fn get_ms_mppe_encryption_types(&self) -> Option<MsMppeEncryptionTypes>;
fn set_ms_mppe_encryption_types(&mut self, value: MsMppeEncryptionTypes);
fn get_ms_ras_vendor(&self) -> Option<u32>;
fn set_ms_ras_vendor(&mut self, value: u32);
fn get_ms_chap_domain(&self) -> Option<String>;
fn set_ms_chap_domain(&mut self, value: impl Into<String>);
fn get_ms_chap_challenge(&self) -> Option<Vec<u8>>;
fn set_ms_chap_challenge(&mut self, value: impl Into<Vec<u8>>);
fn get_ms_chap_mppe_keys(&self) -> Option<Vec<u8>>;
fn set_ms_chap_mppe_keys(&mut self, value: impl Into<Vec<u8>>);
fn get_ms_bap_usage(&self) -> Option<MsBapUsage>;
fn set_ms_bap_usage(&mut self, value: MsBapUsage);
fn get_ms_link_utilization_threshold(&self) -> Option<u32>;
fn set_ms_link_utilization_threshold(&mut self, value: u32);
fn get_ms_link_drop_time_limit(&self) -> Option<u32>;
fn set_ms_link_drop_time_limit(&mut self, value: u32);
fn get_ms_mppe_send_key(&self) -> Option<Vec<u8>>;
fn set_ms_mppe_send_key(&mut self, value: impl Into<Vec<u8>>);
fn get_ms_mppe_recv_key(&self) -> Option<Vec<u8>>;
fn set_ms_mppe_recv_key(&mut self, value: impl Into<Vec<u8>>);
fn get_ms_ras_version(&self) -> Option<String>;
fn set_ms_ras_version(&mut self, value: impl Into<String>);
fn get_ms_old_arap_password(&self) -> Option<Vec<u8>>;
fn set_ms_old_arap_password(&mut self, value: impl Into<Vec<u8>>);
fn get_ms_new_arap_password(&self) -> Option<Vec<u8>>;
fn set_ms_new_arap_password(&mut self, value: impl Into<Vec<u8>>);
fn get_ms_arap_pw_change_reason(&self) -> Option<MsArapPwChangeReason>;
fn set_ms_arap_pw_change_reason(&mut self, value: MsArapPwChangeReason);
fn get_ms_filter(&self) -> Option<Vec<u8>>;
fn set_ms_filter(&mut self, value: impl Into<Vec<u8>>);
fn get_ms_acct_auth_type(&self) -> Option<MsAcctAuthType>;
fn set_ms_acct_auth_type(&mut self, value: MsAcctAuthType);
fn get_ms_acct_eap_type(&self) -> Option<MsAcctEapType>;
fn set_ms_acct_eap_type(&mut self, value: MsAcctEapType);
fn get_ms_chap2_response(&self) -> Option<Vec<u8>>;
fn set_ms_chap2_response(&mut self, value: impl Into<Vec<u8>>);
fn get_ms_chap2_success(&self) -> Option<Vec<u8>>;
fn set_ms_chap2_success(&mut self, value: impl Into<Vec<u8>>);
fn get_ms_chap2_cpw(&self) -> Option<Vec<u8>>;
fn set_ms_chap2_cpw(&mut self, value: impl Into<Vec<u8>>);
fn get_ms_primary_dns_server(&self) -> Option<Ipv4Addr>;
fn set_ms_primary_dns_server(&mut self, value: Ipv4Addr);
fn get_ms_secondary_dns_server(&self) -> Option<Ipv4Addr>;
fn set_ms_secondary_dns_server(&mut self, value: Ipv4Addr);
fn get_ms_primary_nbns_server(&self) -> Option<Ipv4Addr>;
fn set_ms_primary_nbns_server(&mut self, value: Ipv4Addr);
fn get_ms_secondary_nbns_server(&self) -> Option<Ipv4Addr>;
fn set_ms_secondary_nbns_server(&mut self, value: Ipv4Addr);
fn get_ms_ras_client_name(&self) -> Option<String>;
fn set_ms_ras_client_name(&mut self, value: impl Into<String>);
fn get_ms_ras_client_version(&self) -> Option<String>;
fn set_ms_ras_client_version(&mut self, value: impl Into<String>);
fn get_ms_quarantine_ipfilter(&self) -> Option<Vec<u8>>;
fn set_ms_quarantine_ipfilter(&mut self, value: impl Into<Vec<u8>>);
fn get_ms_quarantine_session_timeout(&self) -> Option<u32>;
fn set_ms_quarantine_session_timeout(&mut self, value: u32);
fn get_ms_user_security_identity(&self) -> Option<String>;
fn set_ms_user_security_identity(&mut self, value: impl Into<String>);
fn get_ms_identity_type(&self) -> Option<MsIdentityType>;
fn set_ms_identity_type(&mut self, value: MsIdentityType);
fn get_ms_service_class(&self) -> Option<String>;
fn set_ms_service_class(&mut self, value: impl Into<String>);
fn get_ms_quarantine_user_class(&self) -> Option<String>;
fn set_ms_quarantine_user_class(&mut self, value: impl Into<String>);
fn get_ms_quarantine_state(&self) -> Option<MsQuarantineState>;
fn set_ms_quarantine_state(&mut self, value: MsQuarantineState);
fn get_ms_quarantine_grace_time(&self) -> Option<u32>;
fn set_ms_quarantine_grace_time(&mut self, value: u32);
fn get_ms_network_access_server_type(
&self,
) -> Option<MsNetworkAccessServerType>;
fn set_ms_network_access_server_type(
&mut self,
value: MsNetworkAccessServerType,
);
fn get_ms_afw_zone(&self) -> Option<MsAfwZone>;
fn set_ms_afw_zone(&mut self, value: MsAfwZone);
fn get_ms_afw_protection_level(&self) -> Option<MsAfwProtectionLevel>;
fn set_ms_afw_protection_level(&mut self, value: MsAfwProtectionLevel);
fn get_ms_machine_name(&self) -> Option<String>;
fn set_ms_machine_name(&mut self, value: impl Into<String>);
fn get_ms_ipv6_filter(&self) -> Option<Vec<u8>>;
fn set_ms_ipv6_filter(&mut self, value: impl Into<Vec<u8>>);
fn get_ms_ipv4_remediation_servers(&self) -> Option<Vec<u8>>;
fn set_ms_ipv4_remediation_servers(&mut self, value: impl Into<Vec<u8>>);
fn get_ms_ipv6_remediation_servers(&self) -> Option<Vec<u8>>;
fn set_ms_ipv6_remediation_servers(&mut self, value: impl Into<Vec<u8>>);
fn get_ms_rnap_not_quarantine_capable(
&self,
) -> Option<MsRnapNotQuarantineCapable>;
fn set_ms_rnap_not_quarantine_capable(
&mut self,
value: MsRnapNotQuarantineCapable,
);
fn get_ms_quarantine_soh(&self) -> Option<Vec<u8>>;
fn set_ms_quarantine_soh(&mut self, value: impl Into<Vec<u8>>);
fn get_ms_ras_correlation(&self) -> Option<Vec<u8>>;
fn set_ms_ras_correlation(&mut self, value: impl Into<Vec<u8>>);
fn get_ms_extended_quarantine_state(
&self,
) -> Option<MsExtendedQuarantineState>;
fn set_ms_extended_quarantine_state(
&mut self,
value: MsExtendedQuarantineState,
);
fn get_ms_hcap_user_groups(&self) -> Option<String>;
fn set_ms_hcap_user_groups(&mut self, value: impl Into<String>);
fn get_ms_hcap_location_group_name(&self) -> Option<String>;
fn set_ms_hcap_location_group_name(&mut self, value: impl Into<String>);
fn get_ms_hcap_user_name(&self) -> Option<String>;
fn set_ms_hcap_user_name(&mut self, value: impl Into<String>);
fn get_ms_user_ipv4_address(&self) -> Option<Ipv4Addr>;
fn set_ms_user_ipv4_address(&mut self, value: Ipv4Addr);
fn get_ms_user_ipv6_address(&self) -> Option<Ipv6Addr>;
fn set_ms_user_ipv6_address(&mut self, value: Ipv6Addr);
fn get_ms_tsg_device_redirection(&self) -> Option<u32>;
fn set_ms_tsg_device_redirection(&mut self, value: u32);
}Required Methods§
fn get_ms_chap_response(&self) -> Option<Vec<u8>>
fn set_ms_chap_response(&mut self, value: impl Into<Vec<u8>>)
fn get_ms_chap_error(&self) -> Option<String>
fn set_ms_chap_error(&mut self, value: impl Into<String>)
fn get_ms_chap_cpw_1(&self) -> Option<Vec<u8>>
fn set_ms_chap_cpw_1(&mut self, value: impl Into<Vec<u8>>)
fn get_ms_chap_cpw_2(&self) -> Option<Vec<u8>>
fn set_ms_chap_cpw_2(&mut self, value: impl Into<Vec<u8>>)
fn get_ms_chap_lm_enc_pw(&self) -> Option<Vec<u8>>
fn set_ms_chap_lm_enc_pw(&mut self, value: impl Into<Vec<u8>>)
fn get_ms_chap_nt_enc_pw(&self) -> Option<Vec<u8>>
fn set_ms_chap_nt_enc_pw(&mut self, value: impl Into<Vec<u8>>)
fn get_ms_mppe_encryption_policy(&self) -> Option<MsMppeEncryptionPolicy>
fn set_ms_mppe_encryption_policy(&mut self, value: MsMppeEncryptionPolicy)
fn get_ms_mppe_encryption_type(&self) -> Option<u32>
fn set_ms_mppe_encryption_type(&mut self, value: u32)
fn get_ms_mppe_encryption_types(&self) -> Option<MsMppeEncryptionTypes>
fn set_ms_mppe_encryption_types(&mut self, value: MsMppeEncryptionTypes)
fn get_ms_ras_vendor(&self) -> Option<u32>
fn set_ms_ras_vendor(&mut self, value: u32)
fn get_ms_chap_domain(&self) -> Option<String>
fn set_ms_chap_domain(&mut self, value: impl Into<String>)
fn get_ms_chap_challenge(&self) -> Option<Vec<u8>>
fn set_ms_chap_challenge(&mut self, value: impl Into<Vec<u8>>)
fn get_ms_chap_mppe_keys(&self) -> Option<Vec<u8>>
fn set_ms_chap_mppe_keys(&mut self, value: impl Into<Vec<u8>>)
fn get_ms_bap_usage(&self) -> Option<MsBapUsage>
fn set_ms_bap_usage(&mut self, value: MsBapUsage)
fn get_ms_link_utilization_threshold(&self) -> Option<u32>
fn set_ms_link_utilization_threshold(&mut self, value: u32)
fn get_ms_link_drop_time_limit(&self) -> Option<u32>
fn set_ms_link_drop_time_limit(&mut self, value: u32)
fn get_ms_mppe_send_key(&self) -> Option<Vec<u8>>
fn set_ms_mppe_send_key(&mut self, value: impl Into<Vec<u8>>)
fn get_ms_mppe_recv_key(&self) -> Option<Vec<u8>>
fn set_ms_mppe_recv_key(&mut self, value: impl Into<Vec<u8>>)
fn get_ms_ras_version(&self) -> Option<String>
fn set_ms_ras_version(&mut self, value: impl Into<String>)
fn get_ms_old_arap_password(&self) -> Option<Vec<u8>>
fn set_ms_old_arap_password(&mut self, value: impl Into<Vec<u8>>)
fn get_ms_new_arap_password(&self) -> Option<Vec<u8>>
fn set_ms_new_arap_password(&mut self, value: impl Into<Vec<u8>>)
fn get_ms_arap_pw_change_reason(&self) -> Option<MsArapPwChangeReason>
fn set_ms_arap_pw_change_reason(&mut self, value: MsArapPwChangeReason)
fn get_ms_filter(&self) -> Option<Vec<u8>>
fn set_ms_filter(&mut self, value: impl Into<Vec<u8>>)
fn get_ms_acct_auth_type(&self) -> Option<MsAcctAuthType>
fn set_ms_acct_auth_type(&mut self, value: MsAcctAuthType)
fn get_ms_acct_eap_type(&self) -> Option<MsAcctEapType>
fn set_ms_acct_eap_type(&mut self, value: MsAcctEapType)
fn get_ms_chap2_response(&self) -> Option<Vec<u8>>
fn set_ms_chap2_response(&mut self, value: impl Into<Vec<u8>>)
fn get_ms_chap2_success(&self) -> Option<Vec<u8>>
fn set_ms_chap2_success(&mut self, value: impl Into<Vec<u8>>)
fn get_ms_chap2_cpw(&self) -> Option<Vec<u8>>
fn set_ms_chap2_cpw(&mut self, value: impl Into<Vec<u8>>)
fn get_ms_primary_dns_server(&self) -> Option<Ipv4Addr>
fn set_ms_primary_dns_server(&mut self, value: Ipv4Addr)
fn get_ms_secondary_dns_server(&self) -> Option<Ipv4Addr>
fn set_ms_secondary_dns_server(&mut self, value: Ipv4Addr)
fn get_ms_primary_nbns_server(&self) -> Option<Ipv4Addr>
fn set_ms_primary_nbns_server(&mut self, value: Ipv4Addr)
fn get_ms_secondary_nbns_server(&self) -> Option<Ipv4Addr>
fn set_ms_secondary_nbns_server(&mut self, value: Ipv4Addr)
fn get_ms_ras_client_name(&self) -> Option<String>
fn set_ms_ras_client_name(&mut self, value: impl Into<String>)
fn get_ms_ras_client_version(&self) -> Option<String>
fn set_ms_ras_client_version(&mut self, value: impl Into<String>)
fn get_ms_quarantine_ipfilter(&self) -> Option<Vec<u8>>
fn set_ms_quarantine_ipfilter(&mut self, value: impl Into<Vec<u8>>)
fn get_ms_quarantine_session_timeout(&self) -> Option<u32>
fn set_ms_quarantine_session_timeout(&mut self, value: u32)
fn get_ms_user_security_identity(&self) -> Option<String>
fn set_ms_user_security_identity(&mut self, value: impl Into<String>)
fn get_ms_identity_type(&self) -> Option<MsIdentityType>
fn set_ms_identity_type(&mut self, value: MsIdentityType)
fn get_ms_service_class(&self) -> Option<String>
fn set_ms_service_class(&mut self, value: impl Into<String>)
fn get_ms_quarantine_user_class(&self) -> Option<String>
fn set_ms_quarantine_user_class(&mut self, value: impl Into<String>)
fn get_ms_quarantine_state(&self) -> Option<MsQuarantineState>
fn set_ms_quarantine_state(&mut self, value: MsQuarantineState)
fn get_ms_quarantine_grace_time(&self) -> Option<u32>
fn set_ms_quarantine_grace_time(&mut self, value: u32)
fn get_ms_network_access_server_type(&self) -> Option<MsNetworkAccessServerType>
fn set_ms_network_access_server_type( &mut self, value: MsNetworkAccessServerType, )
fn get_ms_afw_zone(&self) -> Option<MsAfwZone>
fn set_ms_afw_zone(&mut self, value: MsAfwZone)
fn get_ms_afw_protection_level(&self) -> Option<MsAfwProtectionLevel>
fn set_ms_afw_protection_level(&mut self, value: MsAfwProtectionLevel)
fn get_ms_machine_name(&self) -> Option<String>
fn set_ms_machine_name(&mut self, value: impl Into<String>)
fn get_ms_ipv6_filter(&self) -> Option<Vec<u8>>
fn set_ms_ipv6_filter(&mut self, value: impl Into<Vec<u8>>)
fn get_ms_ipv4_remediation_servers(&self) -> Option<Vec<u8>>
fn set_ms_ipv4_remediation_servers(&mut self, value: impl Into<Vec<u8>>)
fn get_ms_ipv6_remediation_servers(&self) -> Option<Vec<u8>>
fn set_ms_ipv6_remediation_servers(&mut self, value: impl Into<Vec<u8>>)
fn get_ms_rnap_not_quarantine_capable( &self, ) -> Option<MsRnapNotQuarantineCapable>
fn set_ms_rnap_not_quarantine_capable( &mut self, value: MsRnapNotQuarantineCapable, )
fn get_ms_quarantine_soh(&self) -> Option<Vec<u8>>
fn set_ms_quarantine_soh(&mut self, value: impl Into<Vec<u8>>)
fn get_ms_ras_correlation(&self) -> Option<Vec<u8>>
fn set_ms_ras_correlation(&mut self, value: impl Into<Vec<u8>>)
fn get_ms_extended_quarantine_state(&self) -> Option<MsExtendedQuarantineState>
fn set_ms_extended_quarantine_state(&mut self, value: MsExtendedQuarantineState)
fn get_ms_hcap_user_groups(&self) -> Option<String>
fn set_ms_hcap_user_groups(&mut self, value: impl Into<String>)
fn get_ms_hcap_location_group_name(&self) -> Option<String>
fn set_ms_hcap_location_group_name(&mut self, value: impl Into<String>)
fn get_ms_hcap_user_name(&self) -> Option<String>
fn set_ms_hcap_user_name(&mut self, value: impl Into<String>)
fn get_ms_user_ipv4_address(&self) -> Option<Ipv4Addr>
fn set_ms_user_ipv4_address(&mut self, value: Ipv4Addr)
fn get_ms_user_ipv6_address(&self) -> Option<Ipv6Addr>
fn set_ms_user_ipv6_address(&mut self, value: Ipv6Addr)
fn get_ms_tsg_device_redirection(&self) -> Option<u32>
fn set_ms_tsg_device_redirection(&mut self, value: u32)
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.