iceoryx2-cli 0.8.1

CLI tools for iceoryx2
Documentation
// Copyright (c) 2024 Contributors to the Eclipse Foundation
//
// See the NOTICE file(s) distributed with this work for additional
// information regarding copyright ownership.
//
// This program and the accompanying materials are made available under the
// terms of the Apache Software License 2.0 which is available at
// https://www.apache.org/licenses/LICENSE-2.0, or the MIT license
// which is available at https://opensource.org/licenses/MIT.
//
// SPDX-License-Identifier: Apache-2.0 OR MIT

use crate::cli::OutputFilter;
use iceoryx2::node::NodeState;
use iceoryx2::service::ipc::Service;
use iceoryx2_cli::filter::Filter;

impl Filter<NodeState<Service>> for OutputFilter {
    fn matches(&self, node: &NodeState<Service>) -> bool {
        self.state.matches(node)
    }
}