#[non_exhaustive]pub struct Demux {
pub inet: Option<DemuxFamily>,
pub inet6: Option<DemuxFamily>,
}Expand description
The demux block of a unit.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.inet: Option<DemuxFamily>§inet6: Option<DemuxFamily>Trait Implementations§
impl Eq for Demux
impl StructuralPartialEq for Demux
Auto Trait Implementations§
impl Forget for Demux
impl Freeze for Demux
impl Move for Demux
impl RefUnwindSafe for Demux
impl Send for Demuxwhere
RawVecInner: Send,
impl Sync for Demuxwhere
RawVecInner: Sync,
impl Unpin for Demux
impl UnsafeUnpin for Demuxwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<DemuxNetwork>: UnsafeUnpin,
impl UnwindSafe for Demuxwhere
RawVecInner: 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