pub struct V2;Available on crate feature
unstable_protocol_v2 only.Expand description
ACP protocol version 2.
See Protocol. Request IDs on v2 connections are never null: the SDK
rejects such requests before dispatch, so id() on a V2 handle is
infallible.
Trait Implementations§
impl Copy for V2
impl Eq for V2
Source§impl Protocol for V2
impl Protocol for V2
Source§type Connection<Counterpart: Role> = ConnectionTo<Counterpart>
type Connection<Counterpart: Role> = ConnectionTo<Counterpart>
The connection type that builder callbacks receive for
Counterpart. Read moreimpl StructuralPartialEq for V2
Auto Trait Implementations§
impl Freeze for V2
impl RefUnwindSafe for V2
impl Send for V2
impl Sync for V2
impl Unpin for V2
impl UnsafeUnpin for V2
impl UnwindSafe for V2
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoMaybeUndefined<T> for T
impl<T> IntoMaybeUndefined<T> for T
Source§fn into_maybe_undefined(self) -> MaybeUndefined<T>
fn into_maybe_undefined(self) -> MaybeUndefined<T>
Converts this value into a three-state builder argument.
Source§impl<T> IntoOption<T> for T
impl<T> IntoOption<T> for T
Source§fn into_option(self) -> Option<T>
fn into_option(self) -> Option<T>
Converts this value into an optional builder argument.