pub struct BlockSession<R: BlockRole, S: ProtocolState, const N: usize> { /* private fields */ }Expand description
A session between blocks, parameterized by role, state, and block count.
Implementations§
Source§impl<R: BlockRole, S: ProtocolState, const N: usize> BlockSession<R, S, N>
impl<R: BlockRole, S: ProtocolState, const N: usize> BlockSession<R, S, N>
Auto Trait Implementations§
impl<R, S, const N: usize> Freeze for BlockSession<R, S, N>
impl<R, S, const N: usize> RefUnwindSafe for BlockSession<R, S, N>where
R: RefUnwindSafe,
S: RefUnwindSafe,
impl<R, S, const N: usize> Send for BlockSession<R, S, N>
impl<R, S, const N: usize> Sync for BlockSession<R, S, N>
impl<R, S, const N: usize> Unpin for BlockSession<R, S, N>
impl<R, S, const N: usize> UnsafeUnpin for BlockSession<R, S, N>
impl<R, S, const N: usize> UnwindSafe for BlockSession<R, S, N>where
R: UnwindSafe,
S: 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