pub enum L2CapConnectionUpdateResult {
CommandRejected(L2CapRejectionReason),
ParametersRejected,
ParametersUpdated,
}
Expand description
Potential results that can be used in the L2CAP connection update response.
Variants§
CommandRejected(L2CapRejectionReason)
The update request was rejected. The code indicates the reason for the rejection.
ParametersRejected
The L2CAP connection update response is valid. The code indicates if the parameters were rejected.
ParametersUpdated
The L2CAP connection update response is valid. The code indicates if the parameters were updated.
Trait Implementations§
Source§impl Clone for L2CapConnectionUpdateResult
impl Clone for L2CapConnectionUpdateResult
Source§fn clone(&self) -> L2CapConnectionUpdateResult
fn clone(&self) -> L2CapConnectionUpdateResult
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for L2CapConnectionUpdateResult
impl Debug for L2CapConnectionUpdateResult
impl Copy for L2CapConnectionUpdateResult
impl StructuralPartialEq for L2CapConnectionUpdateResult
Auto Trait Implementations§
impl Freeze for L2CapConnectionUpdateResult
impl RefUnwindSafe for L2CapConnectionUpdateResult
impl Send for L2CapConnectionUpdateResult
impl Sync for L2CapConnectionUpdateResult
impl Unpin for L2CapConnectionUpdateResult
impl UnwindSafe for L2CapConnectionUpdateResult
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