pub struct CidSlide {
pub add: Vec<[u8; 8]>,
pub remove: Vec<[u8; 8]>,
pub anchor: [u8; 8],
}Available on crate feature
std only.Expand description
A one-step slide of the inbound CID demux window (ε / WIRE v5, P4b), produced
by Session::note_migration_path when the peer migrates. The demux applies
it: add are the CIDs to register at the new leading edge, remove the CIDs
that fell past the trailing edge, and anchor is a CID still routed for this
session (the demux resolves the session’s channel through it).
Fields§
§add: Vec<[u8; 8]>CIDs to register at the new leading edge.
remove: Vec<[u8; 8]>CIDs to drop past the trailing edge.
anchor: [u8; 8]A CID currently routed for this session — the demux looks the channel up by it.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for CidSlide
impl RefUnwindSafe for CidSlide
impl Send for CidSlide
impl Sync for CidSlide
impl Unpin for CidSlide
impl UnsafeUnpin for CidSlide
impl UnwindSafe for CidSlide
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