Skip to main content

App

Struct App 

Source
pub struct App {
Show 40 fields pub traffic: TrafficCollector, pub interface_info: Vec<InterfaceInfo>, pub connection_collector: ConnectionCollector, pub config_collector: ConfigCollector, pub health_prober: HealthProber, pub packet_collector: PacketCollector, pub selected_interface: Option<usize>, pub paused: bool, pub current_tab: Tab, pub connection_scroll: usize, pub sort_column: usize, pub packet_scroll: usize, pub packet_selected: Option<u64>, pub packet_follow: bool, pub capture_interface: String, pub stream_view_open: bool, pub stream_view_index: Option<u32>, pub stream_scroll: usize, pub stream_direction_filter: StreamDirectionFilter, pub stream_hex_mode: bool, pub packet_filter_input: bool, pub packet_filter_text: String, pub packet_filter_active: Option<String>, pub export_status: Option<String>, pub bpf_filter_input: bool, pub bpf_filter_text: String, pub bpf_filter_active: Option<String>, pub stats_scroll: usize, pub show_help: bool, pub help_scroll: usize, pub geo_cache: GeoCache, pub show_geo: bool, pub whois_cache: WhoisCache, pub bookmarks: HashSet<u64>, pub topology_scroll: usize, pub connection_timeline: ConnectionTimeline, pub timeline_scroll: usize, pub timeline_window: TimelineWindow, pub insights_collector: InsightsCollector, pub insights_scroll: usize, /* private fields */
}

Fields§

§traffic: TrafficCollector§interface_info: Vec<InterfaceInfo>§connection_collector: ConnectionCollector§config_collector: ConfigCollector§health_prober: HealthProber§packet_collector: PacketCollector§selected_interface: Option<usize>§paused: bool§current_tab: Tab§connection_scroll: usize§sort_column: usize§packet_scroll: usize§packet_selected: Option<u64>§packet_follow: bool§capture_interface: String§stream_view_open: bool§stream_view_index: Option<u32>§stream_scroll: usize§stream_direction_filter: StreamDirectionFilter§stream_hex_mode: bool§packet_filter_input: bool§packet_filter_text: String§packet_filter_active: Option<String>§export_status: Option<String>§bpf_filter_input: bool§bpf_filter_text: String§bpf_filter_active: Option<String>§stats_scroll: usize§show_help: bool§help_scroll: usize§geo_cache: GeoCache§show_geo: bool§whois_cache: WhoisCache§bookmarks: HashSet<u64>§topology_scroll: usize§connection_timeline: ConnectionTimeline§timeline_scroll: usize§timeline_window: TimelineWindow§insights_collector: InsightsCollector§insights_scroll: usize

Auto Trait Implementations§

§

impl Freeze for App

§

impl !RefUnwindSafe for App

§

impl Send for App

§

impl Sync for App

§

impl Unpin for App

§

impl UnsafeUnpin for App

§

impl !UnwindSafe for App

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> IntoEither for T

Source§

fn into_either(self, into_left: bool) -> Either<Self, Self>

Converts self into a Left variant of Either<Self, Self> if into_left is true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
Source§

fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
where F: FnOnce(&Self) -> bool,

Converts self into a Left variant of Either<Self, Self> if into_left(&self) returns true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.