pub fn new(report_descriptor: &'static [u8]) -> FakeConnection {
            FakeConnection {
                mode: Mode::Valid {
                    report_desc: Bytes::from(report_descriptor),
                    operations: Mutex::new(VecDeque::new()),
                },
            }
        }
/// Constructs a new `FidlConnection` that will return the supplied report_descriptor.
Constructs a new `FidlConnection` that will return the supplied report_descriptor.
Constructs a new ` FidlConnection ` that will return the supplied report_descriptor .
pub fn new(report_descriptor: &'static [u8]) -> FakeConnection {
            FakeConnection {
                mode: Mode::Valid {
                    report_desc: Bytes::from(report_descriptor),
                    operations: Mutex::new(VecDeque::new()),
                },
            }
        }
pub fn new ( report_descriptor : & ' static [ u8 ] ) -> FakeConnection { FakeConnection { mode : Mode :: Valid { report_desc : Bytes :: from ( report_descriptor ) , operations : Mutex :: new ( VecDeque :: new ( ) ) , } , } }
Constructs a new `FidlConnection` that will return the supplied report_descriptor.
Constructs a new ` FidlConnection ` that will return the supplied report_descriptor .
report_descriptor
&'static [u8]