Lines Matching refs:Direction
8 pub enum Direction { enum
27 impl fmt::Display for Direction { implementation
30 Direction::SendRecv => DIRECTION_SEND_RECV_STR, in fmt()
31 Direction::SendOnly => DIRECTION_SEND_ONLY_STR, in fmt()
32 Direction::RecvOnly => DIRECTION_RECV_ONLY_STR, in fmt()
33 Direction::Inactive => DIRECTION_INACTIVE_STR, in fmt()
40 impl Direction { implementation
44 DIRECTION_SEND_RECV_STR => Direction::SendRecv, in new()
45 DIRECTION_SEND_ONLY_STR => Direction::SendOnly, in new()
46 DIRECTION_RECV_ONLY_STR => Direction::RecvOnly, in new()
47 DIRECTION_INACTIVE_STR => Direction::Inactive, in new()
48 _ => Direction::Unspecified, in new()