pub struct StartContext {
pub tx: EventSender,
pub next_dynamic_id: Arc<AtomicU64>,
pub mode: u8,
pub gravity: i64,
pub recursive_prs: bool,
pub announces_from_internal: bool,
pub announces_to_internal: Option<bool>,
pub ingress_control: IngressControlConfig,
pub stamp_costs: InterfaceStampCosts,
pub ifac: Option<IfacState>,
pub underlay_mark: Option<u32>,
}Expand description
Context passed to InterfaceFactory::start().
Fields§
§tx: EventSender§next_dynamic_id: Arc<AtomicU64>§mode: u8§gravity: i64§recursive_prs: bool§announces_from_internal: bool§announces_to_internal: Option<bool>§ingress_control: IngressControlConfig§stamp_costs: InterfaceStampCostsPer-interface stamp costs, inherited by spawned interfaces.
ifac: Option<IfacState>§underlay_mark: Option<u32>Linux SO_MARK value applied to IP underlay sockets before connect.
Auto Trait Implementations§
impl Forget for StartContext
impl Freeze for StartContext
impl RefUnwindSafe for StartContext
impl Send for StartContext
impl Sync for StartContext
impl Unpin for StartContext
impl UnsafeUnpin for StartContext
impl UnwindSafe for StartContext
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more