pub enum Transport {
Bt = 0,
Ble = 1,
Nfc = 2,
Usb = 3,
// some variants omitted
}
Expand description
The Transport
enum.
This API requires the following crate features to be activated: Transport
Variants§
Implementations§
Trait Implementations§
source§impl FromWasmAbi for Transport
impl FromWasmAbi for Transport
source§impl IntoWasmAbi for Transport
impl IntoWasmAbi for Transport
source§impl OptionFromWasmAbi for Transport
impl OptionFromWasmAbi for Transport
source§impl OptionIntoWasmAbi for Transport
impl OptionIntoWasmAbi for Transport
source§impl PartialEq for Transport
impl PartialEq for Transport
impl Copy for Transport
impl Eq for Transport
impl StructuralEq for Transport
impl StructuralPartialEq for Transport
Auto Trait Implementations§
impl RefUnwindSafe for Transport
impl Send for Transport
impl Sync for Transport
impl Unpin for Transport
impl UnwindSafe for Transport
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> ReturnWasmAbi for Twhere
T: IntoWasmAbi,
impl<T> ReturnWasmAbi for Twhere T: IntoWasmAbi,
§type Abi = <T as IntoWasmAbi>::Abi
type Abi = <T as IntoWasmAbi>::Abi
Same as
IntoWasmAbi::Abi
source§fn return_abi(self) -> <T as ReturnWasmAbi>::Abi
fn return_abi(self) -> <T as ReturnWasmAbi>::Abi
Same as
IntoWasmAbi::into_abi
, except that it may throw and never
return in the case of Err
.