pub fn display_entry_state(state: &Option<fidl::EntryState>) -> &'static str {
    match state {
        None => "?",
        Some(fidl::EntryState::Incomplete) => "INCOMPLETE",
        Some(fidl::EntryState::Reachable) => "REACHABLE",
        Some(fidl::EntryState::Stale) => "STALE",
        Some(fidl::EntryState::Delay) => "DELAY",
        Some(fidl::EntryState::Probe) => "PROBE",
        Some(fidl::EntryState::Static) => "STATIC",
        Some(fidl::EntryState::Unreachable) => "UNREACHABLE",
    }
}
// TODO(https://fxbug.dev/90069): introduce a validated Entry struct and
// EntryState enum type in the same shape as UpdateResult in
// fidl_fuchsia_net_interfaces_ext.
/// Returns a &str suitable for display representing the EntryState parameter.
introduce a validated Entry struct and
EntryState enum type in the same shape as UpdateResult in
fidl_fuchsia_net_interfaces_ext.
Returns a &str suitable for display representing the EntryState parameter.
introduce a validated Entry struct and EntryState enum type in the same shape as UpdateResult in fidl_fuchsia_net_interfaces_ext . Returns a &str suitable for display representing the EntryState parameter .
pub fn display_entry_state(state: &Option<fidl::EntryState>) -> &'static str {
    match state {
        None => "?",
        Some(fidl::EntryState::Incomplete) => "INCOMPLETE",
        Some(fidl::EntryState::Reachable) => "REACHABLE",
        Some(fidl::EntryState::Stale) => "STALE",
        Some(fidl::EntryState::Delay) => "DELAY",
        Some(fidl::EntryState::Probe) => "PROBE",
        Some(fidl::EntryState::Static) => "STATIC",
        Some(fidl::EntryState::Unreachable) => "UNREACHABLE",
    }
}
pub fn display_entry_state ( state : & Option < fidl :: EntryState > ) -> & ' static str { match state { None => " " , Some ( fidl :: EntryState :: Incomplete ) => " " , Some ( fidl :: EntryState :: Reachable ) => " " , Some ( fidl :: EntryState :: Stale ) => " " , Some ( fidl :: EntryState :: Delay ) => " " , Some ( fidl :: EntryState :: Probe ) => " " , Some ( fidl :: EntryState :: Static ) => " " , Some ( fidl :: EntryState :: Unreachable ) => " " , } }
TODO(https://fxbug.dev/90069): introduce a validated Entry struct and
EntryState enum type in the same shape as UpdateResult in
fidl_fuchsia_net_interfaces_ext.
TODO ( https : // fxbug . dev / 90069 ) : introduce a validated Entry struct and EntryState enum type in the same shape as UpdateResult in fidl_fuchsia_net_interfaces_ext .
state
&Option<fidl::EntryState>
state
&Option<fidl::EntryState>