|  | // Copyright 2018 The Fuchsia Authors. All rights reserved. | 
|  | // Use of this source code is governed by a BSD-style license that can be | 
|  | // found in the LICENSE file. | 
|  | library fuchsia.hardware.usb.virtual.bus; | 
|  |  | 
|  | using zx; | 
|  |  | 
|  | @for_deprecated_c_bindings | 
|  | protocol Bus { | 
|  | /// Enables the virtual bus. | 
|  | Enable() -> (struct { | 
|  | status zx.status; | 
|  | }); | 
|  | /// Disables the virtual bus. | 
|  | Disable() -> (struct { | 
|  | status zx.status; | 
|  | }); | 
|  | /// Simulates a USB connected event. | 
|  | Connect() -> (struct { | 
|  | status zx.status; | 
|  | }); | 
|  | /// Simulates a USB connected event. | 
|  | Disconnect() -> (struct { | 
|  | status zx.status; | 
|  | }); | 
|  | }; |