Rfc2865Ext

Trait Rfc2865Ext 

Source
pub trait Rfc2865Ext {
Show 82 methods // Required methods fn get_user_name(&self) -> Option<String>; fn set_user_name(&mut self, value: impl Into<String>); fn get_user_password(&self) -> Option<String>; fn set_user_password(&mut self, value: impl Into<String>); fn get_chap_password(&self) -> Option<Vec<u8>>; fn set_chap_password(&mut self, value: impl Into<Vec<u8>>); fn get_nas_ip_address(&self) -> Option<Ipv4Addr>; fn set_nas_ip_address(&mut self, value: Ipv4Addr); fn get_nas_port(&self) -> Option<u32>; fn set_nas_port(&mut self, value: u32); fn get_service_type(&self) -> Option<ServiceType>; fn set_service_type(&mut self, value: ServiceType); fn get_framed_protocol(&self) -> Option<FramedProtocol>; fn set_framed_protocol(&mut self, value: FramedProtocol); fn get_framed_ip_address(&self) -> Option<Ipv4Addr>; fn set_framed_ip_address(&mut self, value: Ipv4Addr); fn get_framed_ip_netmask(&self) -> Option<Ipv4Addr>; fn set_framed_ip_netmask(&mut self, value: Ipv4Addr); fn get_framed_routing(&self) -> Option<FramedRouting>; fn set_framed_routing(&mut self, value: FramedRouting); fn get_filter_id(&self) -> Option<String>; fn set_filter_id(&mut self, value: impl Into<String>); fn get_framed_mtu(&self) -> Option<u32>; fn set_framed_mtu(&mut self, value: u32); fn get_framed_compression(&self) -> Option<FramedCompression>; fn set_framed_compression(&mut self, value: FramedCompression); fn get_login_ip_host(&self) -> Option<Ipv4Addr>; fn set_login_ip_host(&mut self, value: Ipv4Addr); fn get_login_service(&self) -> Option<LoginService>; fn set_login_service(&mut self, value: LoginService); fn get_login_tcp_port(&self) -> Option<LoginTcpPort>; fn set_login_tcp_port(&mut self, value: LoginTcpPort); fn get_reply_message(&self) -> Option<String>; fn set_reply_message(&mut self, value: impl Into<String>); fn get_callback_number(&self) -> Option<String>; fn set_callback_number(&mut self, value: impl Into<String>); fn get_callback_id(&self) -> Option<String>; fn set_callback_id(&mut self, value: impl Into<String>); fn get_framed_route(&self) -> Option<String>; fn set_framed_route(&mut self, value: impl Into<String>); fn get_framed_ipx_network(&self) -> Option<Ipv4Addr>; fn set_framed_ipx_network(&mut self, value: Ipv4Addr); fn get_state(&self) -> Option<Vec<u8>>; fn set_state(&mut self, value: impl Into<Vec<u8>>); fn get_class(&self) -> Option<Vec<u8>>; fn set_class(&mut self, value: impl Into<Vec<u8>>); fn get_vendor_specific(&self) -> Option<Vec<u8>>; fn set_vendor_specific(&mut self, value: impl Into<Vec<u8>>); fn get_session_timeout(&self) -> Option<u32>; fn set_session_timeout(&mut self, value: u32); fn get_idle_timeout(&self) -> Option<u32>; fn set_idle_timeout(&mut self, value: u32); fn get_termination_action(&self) -> Option<TerminationAction>; fn set_termination_action(&mut self, value: TerminationAction); fn get_called_station_id(&self) -> Option<String>; fn set_called_station_id(&mut self, value: impl Into<String>); fn get_calling_station_id(&self) -> Option<String>; fn set_calling_station_id(&mut self, value: impl Into<String>); fn get_nas_identifier(&self) -> Option<String>; fn set_nas_identifier(&mut self, value: impl Into<String>); fn get_proxy_state(&self) -> Option<Vec<u8>>; fn set_proxy_state(&mut self, value: impl Into<Vec<u8>>); fn get_login_lat_service(&self) -> Option<String>; fn set_login_lat_service(&mut self, value: impl Into<String>); fn get_login_lat_node(&self) -> Option<String>; fn set_login_lat_node(&mut self, value: impl Into<String>); fn get_login_lat_group(&self) -> Option<Vec<u8>>; fn set_login_lat_group(&mut self, value: impl Into<Vec<u8>>); fn get_framed_appletalk_link(&self) -> Option<u32>; fn set_framed_appletalk_link(&mut self, value: u32); fn get_framed_appletalk_network(&self) -> Option<u32>; fn set_framed_appletalk_network(&mut self, value: u32); fn get_framed_appletalk_zone(&self) -> Option<String>; fn set_framed_appletalk_zone(&mut self, value: impl Into<String>); fn get_chap_challenge(&self) -> Option<Vec<u8>>; fn set_chap_challenge(&mut self, value: impl Into<Vec<u8>>); fn get_nas_port_type(&self) -> Option<NasPortType>; fn set_nas_port_type(&mut self, value: NasPortType); fn get_port_limit(&self) -> Option<u32>; fn set_port_limit(&mut self, value: u32); fn get_login_lat_port(&self) -> Option<String>; fn set_login_lat_port(&mut self, value: impl Into<String>);
}

Required Methods§

Source

fn get_user_name(&self) -> Option<String>

Source

fn set_user_name(&mut self, value: impl Into<String>)

Source

fn get_user_password(&self) -> Option<String>

Source

fn set_user_password(&mut self, value: impl Into<String>)

Source

fn get_chap_password(&self) -> Option<Vec<u8>>

Source

fn set_chap_password(&mut self, value: impl Into<Vec<u8>>)

Source

fn get_nas_ip_address(&self) -> Option<Ipv4Addr>

Source

fn set_nas_ip_address(&mut self, value: Ipv4Addr)

Source

fn get_nas_port(&self) -> Option<u32>

Source

fn set_nas_port(&mut self, value: u32)

Source

fn get_service_type(&self) -> Option<ServiceType>

Source

fn set_service_type(&mut self, value: ServiceType)

Source

fn get_framed_protocol(&self) -> Option<FramedProtocol>

Source

fn set_framed_protocol(&mut self, value: FramedProtocol)

Source

fn get_framed_ip_address(&self) -> Option<Ipv4Addr>

Source

fn set_framed_ip_address(&mut self, value: Ipv4Addr)

Source

fn get_framed_ip_netmask(&self) -> Option<Ipv4Addr>

Source

fn set_framed_ip_netmask(&mut self, value: Ipv4Addr)

Source

fn get_framed_routing(&self) -> Option<FramedRouting>

Source

fn set_framed_routing(&mut self, value: FramedRouting)

Source

fn get_filter_id(&self) -> Option<String>

Source

fn set_filter_id(&mut self, value: impl Into<String>)

Source

fn get_framed_mtu(&self) -> Option<u32>

Source

fn set_framed_mtu(&mut self, value: u32)

Source

fn get_framed_compression(&self) -> Option<FramedCompression>

Source

fn set_framed_compression(&mut self, value: FramedCompression)

Source

fn get_login_ip_host(&self) -> Option<Ipv4Addr>

Source

fn set_login_ip_host(&mut self, value: Ipv4Addr)

Source

fn get_login_service(&self) -> Option<LoginService>

Source

fn set_login_service(&mut self, value: LoginService)

Source

fn get_login_tcp_port(&self) -> Option<LoginTcpPort>

Source

fn set_login_tcp_port(&mut self, value: LoginTcpPort)

Source

fn get_reply_message(&self) -> Option<String>

Source

fn set_reply_message(&mut self, value: impl Into<String>)

Source

fn get_callback_number(&self) -> Option<String>

Source

fn set_callback_number(&mut self, value: impl Into<String>)

Source

fn get_callback_id(&self) -> Option<String>

Source

fn set_callback_id(&mut self, value: impl Into<String>)

Source

fn get_framed_route(&self) -> Option<String>

Source

fn set_framed_route(&mut self, value: impl Into<String>)

Source

fn get_framed_ipx_network(&self) -> Option<Ipv4Addr>

Source

fn set_framed_ipx_network(&mut self, value: Ipv4Addr)

Source

fn get_state(&self) -> Option<Vec<u8>>

Source

fn set_state(&mut self, value: impl Into<Vec<u8>>)

Source

fn get_class(&self) -> Option<Vec<u8>>

Source

fn set_class(&mut self, value: impl Into<Vec<u8>>)

Source

fn get_vendor_specific(&self) -> Option<Vec<u8>>

Source

fn set_vendor_specific(&mut self, value: impl Into<Vec<u8>>)

Source

fn get_session_timeout(&self) -> Option<u32>

Source

fn set_session_timeout(&mut self, value: u32)

Source

fn get_idle_timeout(&self) -> Option<u32>

Source

fn set_idle_timeout(&mut self, value: u32)

Source

fn get_termination_action(&self) -> Option<TerminationAction>

Source

fn set_termination_action(&mut self, value: TerminationAction)

Source

fn get_called_station_id(&self) -> Option<String>

Source

fn set_called_station_id(&mut self, value: impl Into<String>)

Source

fn get_calling_station_id(&self) -> Option<String>

Source

fn set_calling_station_id(&mut self, value: impl Into<String>)

Source

fn get_nas_identifier(&self) -> Option<String>

Source

fn set_nas_identifier(&mut self, value: impl Into<String>)

Source

fn get_proxy_state(&self) -> Option<Vec<u8>>

Source

fn set_proxy_state(&mut self, value: impl Into<Vec<u8>>)

Source

fn get_login_lat_service(&self) -> Option<String>

Source

fn set_login_lat_service(&mut self, value: impl Into<String>)

Source

fn get_login_lat_node(&self) -> Option<String>

Source

fn set_login_lat_node(&mut self, value: impl Into<String>)

Source

fn get_login_lat_group(&self) -> Option<Vec<u8>>

Source

fn set_login_lat_group(&mut self, value: impl Into<Vec<u8>>)

Source

fn get_framed_appletalk_network(&self) -> Option<u32>

Source

fn set_framed_appletalk_network(&mut self, value: u32)

Source

fn get_framed_appletalk_zone(&self) -> Option<String>

Source

fn set_framed_appletalk_zone(&mut self, value: impl Into<String>)

Source

fn get_chap_challenge(&self) -> Option<Vec<u8>>

Source

fn set_chap_challenge(&mut self, value: impl Into<Vec<u8>>)

Source

fn get_nas_port_type(&self) -> Option<NasPortType>

Source

fn set_nas_port_type(&mut self, value: NasPortType)

Source

fn get_port_limit(&self) -> Option<u32>

Source

fn set_port_limit(&mut self, value: u32)

Source

fn get_login_lat_port(&self) -> Option<String>

Source

fn set_login_lat_port(&mut self, value: impl Into<String>)

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.

Implementations on Foreign Types§

Source§

impl Rfc2865Ext for Packet

Source§

fn get_user_name(&self) -> Option<String>

Source§

fn set_user_name(&mut self, value: impl Into<String>)

Source§

fn get_user_password(&self) -> Option<String>

Source§

fn set_user_password(&mut self, value: impl Into<String>)

Source§

fn get_chap_password(&self) -> Option<Vec<u8>>

Source§

fn set_chap_password(&mut self, value: impl Into<Vec<u8>>)

Source§

fn get_nas_ip_address(&self) -> Option<Ipv4Addr>

Source§

fn set_nas_ip_address(&mut self, value: Ipv4Addr)

Source§

fn get_nas_port(&self) -> Option<u32>

Source§

fn set_nas_port(&mut self, value: u32)

Source§

fn get_service_type(&self) -> Option<ServiceType>

Source§

fn set_service_type(&mut self, value: ServiceType)

Source§

fn get_framed_protocol(&self) -> Option<FramedProtocol>

Source§

fn set_framed_protocol(&mut self, value: FramedProtocol)

Source§

fn get_framed_ip_address(&self) -> Option<Ipv4Addr>

Source§

fn set_framed_ip_address(&mut self, value: Ipv4Addr)

Source§

fn get_framed_ip_netmask(&self) -> Option<Ipv4Addr>

Source§

fn set_framed_ip_netmask(&mut self, value: Ipv4Addr)

Source§

fn get_framed_routing(&self) -> Option<FramedRouting>

Source§

fn set_framed_routing(&mut self, value: FramedRouting)

Source§

fn get_filter_id(&self) -> Option<String>

Source§

fn set_filter_id(&mut self, value: impl Into<String>)

Source§

fn get_framed_mtu(&self) -> Option<u32>

Source§

fn set_framed_mtu(&mut self, value: u32)

Source§

fn get_framed_compression(&self) -> Option<FramedCompression>

Source§

fn set_framed_compression(&mut self, value: FramedCompression)

Source§

fn get_login_ip_host(&self) -> Option<Ipv4Addr>

Source§

fn set_login_ip_host(&mut self, value: Ipv4Addr)

Source§

fn get_login_service(&self) -> Option<LoginService>

Source§

fn set_login_service(&mut self, value: LoginService)

Source§

fn get_login_tcp_port(&self) -> Option<LoginTcpPort>

Source§

fn set_login_tcp_port(&mut self, value: LoginTcpPort)

Source§

fn get_reply_message(&self) -> Option<String>

Source§

fn set_reply_message(&mut self, value: impl Into<String>)

Source§

fn get_callback_number(&self) -> Option<String>

Source§

fn set_callback_number(&mut self, value: impl Into<String>)

Source§

fn get_callback_id(&self) -> Option<String>

Source§

fn set_callback_id(&mut self, value: impl Into<String>)

Source§

fn get_framed_route(&self) -> Option<String>

Source§

fn set_framed_route(&mut self, value: impl Into<String>)

Source§

fn get_framed_ipx_network(&self) -> Option<Ipv4Addr>

Source§

fn set_framed_ipx_network(&mut self, value: Ipv4Addr)

Source§

fn get_state(&self) -> Option<Vec<u8>>

Source§

fn set_state(&mut self, value: impl Into<Vec<u8>>)

Source§

fn get_class(&self) -> Option<Vec<u8>>

Source§

fn set_class(&mut self, value: impl Into<Vec<u8>>)

Source§

fn get_vendor_specific(&self) -> Option<Vec<u8>>

Source§

fn set_vendor_specific(&mut self, value: impl Into<Vec<u8>>)

Source§

fn get_session_timeout(&self) -> Option<u32>

Source§

fn set_session_timeout(&mut self, value: u32)

Source§

fn get_idle_timeout(&self) -> Option<u32>

Source§

fn set_idle_timeout(&mut self, value: u32)

Source§

fn get_termination_action(&self) -> Option<TerminationAction>

Source§

fn set_termination_action(&mut self, value: TerminationAction)

Source§

fn get_called_station_id(&self) -> Option<String>

Source§

fn set_called_station_id(&mut self, value: impl Into<String>)

Source§

fn get_calling_station_id(&self) -> Option<String>

Source§

fn set_calling_station_id(&mut self, value: impl Into<String>)

Source§

fn get_nas_identifier(&self) -> Option<String>

Source§

fn set_nas_identifier(&mut self, value: impl Into<String>)

Source§

fn get_proxy_state(&self) -> Option<Vec<u8>>

Source§

fn set_proxy_state(&mut self, value: impl Into<Vec<u8>>)

Source§

fn get_login_lat_service(&self) -> Option<String>

Source§

fn set_login_lat_service(&mut self, value: impl Into<String>)

Source§

fn get_login_lat_node(&self) -> Option<String>

Source§

fn set_login_lat_node(&mut self, value: impl Into<String>)

Source§

fn get_login_lat_group(&self) -> Option<Vec<u8>>

Source§

fn set_login_lat_group(&mut self, value: impl Into<Vec<u8>>)

Source§

fn get_framed_appletalk_network(&self) -> Option<u32>

Source§

fn set_framed_appletalk_network(&mut self, value: u32)

Source§

fn get_framed_appletalk_zone(&self) -> Option<String>

Source§

fn set_framed_appletalk_zone(&mut self, value: impl Into<String>)

Source§

fn get_chap_challenge(&self) -> Option<Vec<u8>>

Source§

fn set_chap_challenge(&mut self, value: impl Into<Vec<u8>>)

Source§

fn get_nas_port_type(&self) -> Option<NasPortType>

Source§

fn set_nas_port_type(&mut self, value: NasPortType)

Source§

fn get_port_limit(&self) -> Option<u32>

Source§

fn set_port_limit(&mut self, value: u32)

Source§

fn get_login_lat_port(&self) -> Option<String>

Source§

fn set_login_lat_port(&mut self, value: impl Into<String>)

Implementors§