pub enum L2capParametersExtRequest {
RequestParameters {
request: ChannelParameters,
responder: L2capParametersExtRequestParametersResponder,
},
_UnknownMethod {
ordinal: u64,
control_handle: L2capParametersExtControlHandle,
method_type: MethodType,
},
}
Expand description
L2CAP Parameters Extension. Used to configure L2CAP channel parameters on an open channel.
Variants§
RequestParameters
Request a L2CAP channel parameter update. request
indicates the
desired parameters, and new
indicates the new parameters
(which may differ from the requested parameters if they are
rejected/modified).
Currently only the following parameters can be changed:
- flush_timeout
_UnknownMethod
An interaction was received which does not match any known method.
Fields
This variant is marked as non-exhaustive
Non-exhaustive enum variants could have additional fields added in future. Therefore, non-exhaustive enum variants cannot be constructed in external crates and cannot be matched against.
§
control_handle: L2capParametersExtControlHandle
§
method_type: MethodType
Implementations§
Source§impl L2capParametersExtRequest
impl L2capParametersExtRequest
pub fn into_request_parameters( self, ) -> Option<(ChannelParameters, L2capParametersExtRequestParametersResponder)>
Sourcepub fn method_name(&self) -> &'static str
pub fn method_name(&self) -> &'static str
Name of the method defined in FIDL
Trait Implementations§
Auto Trait Implementations§
impl Freeze for L2capParametersExtRequest
impl !RefUnwindSafe for L2capParametersExtRequest
impl Send for L2capParametersExtRequest
impl Sync for L2capParametersExtRequest
impl Unpin for L2capParametersExtRequest
impl !UnwindSafe for L2capParametersExtRequest
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