[][src]Enum bgapi::error::Error

pub enum Error {
    success,
    ps_store_full,
    ps_key_not_found,
    i2c_ack_missing,
    i2c_timeout,
    invalid_conn_handle,
    waiting_response,
    gatt_connection_timeout,
    invalid_param,
    wrong_state,
    out_of_memory,
    not_implemented,
    invalid_command,
    timeout,
    not_connected,
    flow,
    user_attribute,
    invalid_license_key,
    command_too_long,
    out_of_bonds,
    unspecified,
    hardware,
    buffers_full,
    disconnected,
    too_many_requests,
    not_supported,
    no_bonding,
    crypto,
    data_corrupted,
    command_incomplete,
    passkey_entry_failed,
    oob_not_available,
    authentication_requirements,
    confirm_value_failed,
    pairing_not_supported,
    encryption_key_size,
    command_not_supported,
    unspecified_reason,
    sm_repeated_attempts,
    invalid_parameters,
    dhkey_check_failed,
    numeric_comparison_failed,
    bredr_pairing_in_progress,
    cross_transport_key_derivation_generation_not_allowed,
    unknown_connection_identifier,
    page_timeout,
    authentication_failure,
    pin_or_key_missing,
    memory_capacity_exceeded,
    connection_timeout,
    connection_limit_exceeded,
    synchronous_connectiontion_limit_exceeded,
    acl_connection_already_exists,
    command_disallowed,
    connection_rejected_due_to_limited_resources,
    connection_rejected_due_to_security_reasons,
    connection_rejected_due_to_unacceptable_bd_addr,
    connection_accept_timeout_exceeded,
    unsupported_feature_or_parameter_value,
    invalid_command_parameters,
    remote_user_terminated,
    remote_device_terminated_connection_due_to_low_resources,
    remote_powering_off,
    connection_terminated_by_local_host,
    repeated_attempts,
    pairing_not_allowed,
    unknown_lmp_pdu,
    unsupported_remote_feature,
    sco_offset_rejected,
    sco_interval_rejected,
    sco_air_mode_rejected,
    invalid_lmp_parameters,
    unspecified_error,
    unsupported_lmp_parameter_value,
    role_change_not_allowed,
    ll_response_timeout,
    lmp_error_transaction_collision,
    lmp_pdu_not_allowed,
    encryption_mode_not_acceptable,
    link_key_cannot_be_changed,
    requested_qos_not_supported,
    instant_passed,
    pairing_with_unit_key_not_supported,
    different_transaction_collision,
    qos_unacceptable_parameter,
    qos_rejected,
    channel_assesment_not_supported,
    insufficient_security,
    parameter_out_of_mandatory_range,
    role_switch_pending,
    reserved_slot_violation,
    role_switch_failed,
    extended_inquiry_response_too_large,
    simple_pairing_not_supported_by_host,
    host_busy_pairing,
    connection_rejected_due_to_no_suitable_channel_found,
    controller_busy,
    unacceptable_connection_interval,
    directed_advertising_timeout,
    connection_terminated_due_to_mic_failure,
    connection_failed_to_be_established,
    mac_connection_failed,
    coarse_clock_adjustment_rejected_but_will_try_to_adjust_using_clock_dragging,
    file_open_failed,
    xml_parse_failed,
    device_connection_failed,
    device_comunication_failed,
    authentication_failed,
    incorrect_gatt_database,
    disconnected_due_to_procedure_collision,
    disconnected_due_to_secure_session_failed,
    encryption_decryption_error,
    maximum_retries,
    data_parse_failed,
    pairing_removed,
    inactive_timeout,
    invalid_handle,
    read_not_permitted,
    write_not_permitted,
    invalid_pdu,
    insufficient_authentication,
    request_not_supported,
    invalid_offset,
    insufficient_authorization,
    prepare_queue_full,
    att_not_found,
    att_not_long,
    insufficient_enc_key_size,
    invalid_att_length,
    unlikely_error,
    insufficient_encryption,
    unsupported_group_type,
    insufficient_resources,
    out_of_sync,
    value_not_allowed,
    application,
    already_exists,
    does_not_exist,
    limit_reached,
    invalid_address,
    malformed_data,
    file_not_found,
    image_signature_verification_failed,
    file_signature_verification_failed,
    image_checksum_error,
}

Variants

successps_store_fullps_key_not_foundi2c_ack_missingi2c_timeoutinvalid_conn_handlewaiting_responsegatt_connection_timeoutinvalid_paramwrong_stateout_of_memorynot_implementedinvalid_commandtimeoutnot_connectedflowuser_attributeinvalid_license_keycommand_too_longout_of_bondsunspecifiedhardwarebuffers_fulldisconnectedtoo_many_requestsnot_supportedno_bondingcryptodata_corruptedcommand_incompletepasskey_entry_failedoob_not_availableauthentication_requirementsconfirm_value_failedpairing_not_supportedencryption_key_sizecommand_not_supportedunspecified_reasonsm_repeated_attemptsinvalid_parametersdhkey_check_failednumeric_comparison_failedbredr_pairing_in_progresscross_transport_key_derivation_generation_not_allowedunknown_connection_identifierpage_timeoutauthentication_failurepin_or_key_missingmemory_capacity_exceededconnection_timeoutconnection_limit_exceededsynchronous_connectiontion_limit_exceededacl_connection_already_existscommand_disallowedconnection_rejected_due_to_limited_resourcesconnection_rejected_due_to_security_reasonsconnection_rejected_due_to_unacceptable_bd_addrconnection_accept_timeout_exceededunsupported_feature_or_parameter_valueinvalid_command_parametersremote_user_terminatedremote_device_terminated_connection_due_to_low_resourcesremote_powering_offconnection_terminated_by_local_hostrepeated_attemptspairing_not_allowedunknown_lmp_pduunsupported_remote_featuresco_offset_rejectedsco_interval_rejectedsco_air_mode_rejectedinvalid_lmp_parametersunspecified_errorunsupported_lmp_parameter_valuerole_change_not_allowedll_response_timeoutlmp_error_transaction_collisionlmp_pdu_not_allowedencryption_mode_not_acceptablelink_key_cannot_be_changedrequested_qos_not_supportedinstant_passedpairing_with_unit_key_not_supporteddifferent_transaction_collisionqos_unacceptable_parameterqos_rejectedchannel_assesment_not_supportedinsufficient_securityparameter_out_of_mandatory_rangerole_switch_pendingreserved_slot_violationrole_switch_failedextended_inquiry_response_too_largesimple_pairing_not_supported_by_hosthost_busy_pairingconnection_rejected_due_to_no_suitable_channel_foundcontroller_busyunacceptable_connection_intervaldirected_advertising_timeoutconnection_terminated_due_to_mic_failureconnection_failed_to_be_establishedmac_connection_failedcoarse_clock_adjustment_rejected_but_will_try_to_adjust_using_clock_draggingfile_open_failedxml_parse_faileddevice_connection_faileddevice_comunication_failedauthentication_failedincorrect_gatt_databasedisconnected_due_to_procedure_collisiondisconnected_due_to_secure_session_failedencryption_decryption_errormaximum_retriesdata_parse_failedpairing_removedinactive_timeoutinvalid_handleread_not_permittedwrite_not_permittedinvalid_pduinsufficient_authenticationrequest_not_supportedinvalid_offsetinsufficient_authorizationprepare_queue_fullatt_not_foundatt_not_longinsufficient_enc_key_sizeinvalid_att_lengthunlikely_errorinsufficient_encryptionunsupported_group_typeinsufficient_resourcesout_of_syncvalue_not_allowedapplicationalready_existsdoes_not_existlimit_reachedinvalid_addressmalformed_datafile_not_foundimage_signature_verification_failedfile_signature_verification_failedimage_checksum_error

Trait Implementations

impl PartialOrd<Error> for Error[src]

#[must_use] fn lt(&self, other: &Rhs) -> bool1.0.0[src]

This method tests less than (for self and other) and is used by the < operator. Read more

#[must_use] fn le(&self, other: &Rhs) -> bool1.0.0[src]

This method tests less than or equal to (for self and other) and is used by the <= operator. Read more

#[must_use] fn gt(&self, other: &Rhs) -> bool1.0.0[src]

This method tests greater than (for self and other) and is used by the > operator. Read more

#[must_use] fn ge(&self, other: &Rhs) -> bool1.0.0[src]

This method tests greater than or equal to (for self and other) and is used by the >= operator. Read more

impl PartialEq<Error> for Error[src]

#[must_use] fn ne(&self, other: &Rhs) -> bool1.0.0[src]

This method tests for !=.

impl Clone for Error[src]

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

impl Debug for Error[src]

impl FromPrimitive for Error[src]

fn from_isize(n: isize) -> Option<Self>[src]

Convert an isize to return an optional value of this type. If the value cannot be represented by this value, then None is returned. Read more

fn from_i8(n: i8) -> Option<Self>[src]

Convert an i8 to return an optional value of this type. If the type cannot be represented by this value, then None is returned. Read more

fn from_i16(n: i16) -> Option<Self>[src]

Convert an i16 to return an optional value of this type. If the type cannot be represented by this value, then None is returned. Read more

fn from_i32(n: i32) -> Option<Self>[src]

Convert an i32 to return an optional value of this type. If the type cannot be represented by this value, then None is returned. Read more

fn from_i128(n: i128) -> Option<Self>[src]

Convert an i128 to return an optional value of this type. If the type cannot be represented by this value, then None is returned. Read more

fn from_usize(n: usize) -> Option<Self>[src]

Convert a usize to return an optional value of this type. If the type cannot be represented by this value, then None is returned. Read more

fn from_u8(n: u8) -> Option<Self>[src]

Convert an u8 to return an optional value of this type. If the type cannot be represented by this value, then None is returned. Read more

fn from_u16(n: u16) -> Option<Self>[src]

Convert an u16 to return an optional value of this type. If the type cannot be represented by this value, then None is returned. Read more

fn from_u32(n: u32) -> Option<Self>[src]

Convert an u32 to return an optional value of this type. If the type cannot be represented by this value, then None is returned. Read more

fn from_u128(n: u128) -> Option<Self>[src]

Convert an u128 to return an optional value of this type. If the type cannot be represented by this value, then None is returned. Read more

fn from_f32(n: f32) -> Option<Self>[src]

Convert a f32 to return an optional value of this type. If the type cannot be represented by this value, then None is returned. Read more

fn from_f64(n: f64) -> Option<Self>[src]

Convert a f64 to return an optional value of this type. If the type cannot be represented by this value, then None is returned. Read more

Auto Trait Implementations

impl Send for Error

impl Unpin for Error

impl Sync for Error

impl UnwindSafe for Error

impl RefUnwindSafe for Error

Blanket Implementations

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]