event.rs
1 pub enum InstanceEvent { 2 Incoming(iroh::endpoint::Incoming), 3 } 4 5 impl std::fmt::Debug for InstanceEvent { 6 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { 7 match self { 8 Self::Incoming(_) => f.debug_tuple("Incoming").finish_non_exhaustive(), 9 } 10 } 11 }