1 // Copyright 2022 The ChromiumOS Authors 2 // Use of this source code is governed by a BSD-style license that can be 3 // found in the LICENSE file. 4 5 use base::RecvTube; 6 7 #[derive(Default)] 8 pub struct MetricsRequestHandler; 9 impl MetricsRequestHandler { new() -> Self10 pub fn new() -> Self { 11 MetricsRequestHandler 12 } handle_tube_readable(&self, _tube: &RecvTube)13 pub fn handle_tube_readable(&self, _tube: &RecvTube) { 14 unreachable!(); 15 } shutdown(&self)16 pub fn shutdown(&self) {} 17 } 18