pub struct InterfaceRoutePlan {
pub routes: Vec<InterfaceRoute>,
}Fields§
§routes: Vec<InterfaceRoute>Implementations§
Source§impl InterfaceRoutePlan
impl InterfaceRoutePlan
pub fn summary_line(&self) -> String
pub fn to_event(&self) -> Event
pub fn event_batch(&self) -> Vec<Event>
pub fn planned(&self) -> Vec<&InterfaceRoute>
pub fn state_counts(&self) -> InterfaceRouteCounts
pub fn handle_local( &self, kind: InterfaceKind, body: &[u8], ) -> Result<InterfaceResponse, InterfaceError>
Trait Implementations§
Source§impl Clone for InterfaceRoutePlan
impl Clone for InterfaceRoutePlan
Source§impl Debug for InterfaceRoutePlan
impl Debug for InterfaceRoutePlan
impl Eq for InterfaceRoutePlan
Source§impl PartialEq for InterfaceRoutePlan
impl PartialEq for InterfaceRoutePlan
impl StructuralPartialEq for InterfaceRoutePlan
Auto Trait Implementations§
impl Freeze for InterfaceRoutePlan
impl RefUnwindSafe for InterfaceRoutePlan
impl Send for InterfaceRoutePlan
impl Sync for InterfaceRoutePlan
impl Unpin for InterfaceRoutePlan
impl UnsafeUnpin for InterfaceRoutePlan
impl UnwindSafe for InterfaceRoutePlan
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