[][src]Struct queen::Switch

pub struct Switch {
    pub id: MessageId,
    pub chans: HashMap<String, HashSet<usize>>,
    pub slot_ids: HashMap<MessageId, usize>,
    pub slots: Slab<Slot>,
    pub send_num: Cell<usize>,
    pub recv_num: Cell<usize>,
    // some fields omitted
}

Fields

id: MessageIdchans: HashMap<String, HashSet<usize>>slot_ids: HashMap<MessageId, usize>slots: Slab<Slot>send_num: Cell<usize>recv_num: Cell<usize>

Implementations

impl Switch[src]

pub fn new(id: MessageId) -> Self[src]

Auto Trait Implementations

impl !RefUnwindSafe for Switch

impl Send for Switch

impl !Sync for Switch

impl Unpin for Switch

impl !UnwindSafe for Switch

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,