pub struct PlaneHandshakeGen<TEndpointAddr: Encode + Compatible<EndpointAddr>, Init: Encode> {
pub plane_id: u32,
pub endpoint_addr: TEndpointAddr,
pub init: Init,
}Fields§
§plane_id: u32§endpoint_addr: TEndpointAddr§init: InitTrait Implementations§
Source§impl<TEndpointAddr: Encode + Compatible<EndpointAddr>, Init: Encode> BaseLen for PlaneHandshakeGen<TEndpointAddr, Init>
impl<TEndpointAddr: Encode + Compatible<EndpointAddr>, Init: Encode> BaseLen for PlaneHandshakeGen<TEndpointAddr, Init>
Source§impl<TEndpointAddr: Encode + Compatible<EndpointAddr>, Init: Encode> Encode for PlaneHandshakeGen<TEndpointAddr, Init>
impl<TEndpointAddr: Encode + Compatible<EndpointAddr>, Init: Encode> Encode for PlaneHandshakeGen<TEndpointAddr, Init>
fn scratch_len(&self) -> usize
fn encode(&self, cursor: &mut EncodeCursor<'_>)
impl<T: Owned, TEndpointAddr: Encode + Compatible<EndpointAddr>, Init: Encode + Compatible<T>> Compatible<PlaneHandshake<T>> for PlaneHandshakeGen<TEndpointAddr, Init>
impl<T: Owned, TEndpointAddr: Encode + Compatible<EndpointAddr>, Init: Encode + Compatible<T>> Compatible<PlaneHandshakeGen<TEndpointAddr, Init>> for PlaneHandshake<T>
Auto Trait Implementations§
impl<TEndpointAddr, Init> Freeze for PlaneHandshakeGen<TEndpointAddr, Init>
impl<TEndpointAddr, Init> RefUnwindSafe for PlaneHandshakeGen<TEndpointAddr, Init>where
TEndpointAddr: RefUnwindSafe,
Init: RefUnwindSafe,
impl<TEndpointAddr, Init> Send for PlaneHandshakeGen<TEndpointAddr, Init>
impl<TEndpointAddr, Init> Sync for PlaneHandshakeGen<TEndpointAddr, Init>
impl<TEndpointAddr, Init> Unpin for PlaneHandshakeGen<TEndpointAddr, Init>
impl<TEndpointAddr, Init> UnwindSafe for PlaneHandshakeGen<TEndpointAddr, Init>where
TEndpointAddr: UnwindSafe,
Init: UnwindSafe,
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