pub struct SetNoiseProtocols<S: State = Empty>(PhantomData<fn() -> S>);Expand description
Represents a State that has IsSet implemented for State::NoiseProtocols.
The state for all other members is left the same as in the input state.
Tuple Fields§
§0: PhantomData<fn() -> S>Auto Trait Implementations§
impl<S> Freeze for SetNoiseProtocols<S>
impl<S> RefUnwindSafe for SetNoiseProtocols<S>
impl<S> Send for SetNoiseProtocols<S>
impl<S> Sync for SetNoiseProtocols<S>
impl<S> Unpin for SetNoiseProtocols<S>
impl<S> UnsafeUnpin for SetNoiseProtocols<S>
impl<S> UnwindSafe for SetNoiseProtocols<S>
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