Lines Matching refs:Option
30 pub request_type: ::std::option::Option<StreamPacketsRequest_oneof_request_type>,
62 … ::std::option::Option::Some(StreamPacketsRequest_oneof_request_type::initial_info(ref v)) => v, in get_initial_info()
67 self.request_type = ::std::option::Option::None; in clear_initial_info()
72 … ::std::option::Option::Some(StreamPacketsRequest_oneof_request_type::initial_info(..)) => true, in has_initial_info()
79 …self.request_type = ::std::option::Option::Some(StreamPacketsRequest_oneof_request_type::initial_i… in set_initial_info()
84 …if let ::std::option::Option::Some(StreamPacketsRequest_oneof_request_type::initial_info(_)) = sel… in mut_initial_info()
86 …self.request_type = ::std::option::Option::Some(StreamPacketsRequest_oneof_request_type::initial_i… in mut_initial_info()
89 …::std::option::Option::Some(StreamPacketsRequest_oneof_request_type::initial_info(ref mut v)) => v, in mut_initial_info()
98 … ::std::option::Option::Some(StreamPacketsRequest_oneof_request_type::initial_info(v)) => v, in take_initial_info()
111 … ::std::option::Option::Some(StreamPacketsRequest_oneof_request_type::hci_packet(ref v)) => v, in get_hci_packet()
116 self.request_type = ::std::option::Option::None; in clear_hci_packet()
121 … ::std::option::Option::Some(StreamPacketsRequest_oneof_request_type::hci_packet(..)) => true, in has_hci_packet()
128 …self.request_type = ::std::option::Option::Some(StreamPacketsRequest_oneof_request_type::hci_packe… in set_hci_packet()
133 …if let ::std::option::Option::Some(StreamPacketsRequest_oneof_request_type::hci_packet(_)) = self.… in mut_hci_packet()
135 …self.request_type = ::std::option::Option::Some(StreamPacketsRequest_oneof_request_type::hci_packe… in mut_hci_packet()
138 … ::std::option::Option::Some(StreamPacketsRequest_oneof_request_type::hci_packet(ref mut v)) => v, in mut_hci_packet()
147 … ::std::option::Option::Some(StreamPacketsRequest_oneof_request_type::hci_packet(v)) => v, in take_hci_packet()
160 … ::std::option::Option::Some(StreamPacketsRequest_oneof_request_type::packet(ref v)) => v, in get_packet()
165 self.request_type = ::std::option::Option::None; in clear_packet()
170 … ::std::option::Option::Some(StreamPacketsRequest_oneof_request_type::packet(..)) => true, in has_packet()
177 …self.request_type = ::std::option::Option::Some(StreamPacketsRequest_oneof_request_type::packet(v)) in set_packet()
182 …if let ::std::option::Option::Some(StreamPacketsRequest_oneof_request_type::packet(_)) = self.requ… in mut_packet()
184 …self.request_type = ::std::option::Option::Some(StreamPacketsRequest_oneof_request_type::packet(::… in mut_packet()
187 … ::std::option::Option::Some(StreamPacketsRequest_oneof_request_type::packet(ref mut v)) => v, in mut_packet()
196 … ::std::option::Option::Some(StreamPacketsRequest_oneof_request_type::packet(v)) => v, in take_packet()
228 …self.request_type = ::std::option::Option::Some(StreamPacketsRequest_oneof_request_type::initial_i… in merge_from()
234 …self.request_type = ::std::option::Option::Some(StreamPacketsRequest_oneof_request_type::hci_packe… in merge_from()
240 …self.request_type = ::std::option::Option::Some(StreamPacketsRequest_oneof_request_type::packet(is… in merge_from()
254 if let ::std::option::Option::Some(ref v) = self.request_type { in compute_size()
275 if let ::std::option::Option::Some(ref v) = self.request_type { in write_to_with_cached_sizes()
361 self.request_type = ::std::option::Option::None; in clear()
362 self.request_type = ::std::option::Option::None; in clear()
363 self.request_type = ::std::option::Option::None; in clear()
384 pub response_type: ::std::option::Option<StreamPacketsResponse_oneof_response_type>,
416 … ::std::option::Option::Some(StreamPacketsResponse_oneof_response_type::error(ref v)) => v, in get_error()
421 self.response_type = ::std::option::Option::None; in clear_error()
426 … ::std::option::Option::Some(StreamPacketsResponse_oneof_response_type::error(..)) => true, in has_error()
433 …self.response_type = ::std::option::Option::Some(StreamPacketsResponse_oneof_response_type::error(… in set_error()
438 …if let ::std::option::Option::Some(StreamPacketsResponse_oneof_response_type::error(_)) = self.res… in mut_error()
440 …self.response_type = ::std::option::Option::Some(StreamPacketsResponse_oneof_response_type::error(… in mut_error()
443 … ::std::option::Option::Some(StreamPacketsResponse_oneof_response_type::error(ref mut v)) => v, in mut_error()
452 … ::std::option::Option::Some(StreamPacketsResponse_oneof_response_type::error(v)) => v, in take_error()
465 … ::std::option::Option::Some(StreamPacketsResponse_oneof_response_type::hci_packet(ref v)) => v, in get_hci_packet()
470 self.response_type = ::std::option::Option::None; in clear_hci_packet()
475 … ::std::option::Option::Some(StreamPacketsResponse_oneof_response_type::hci_packet(..)) => true, in has_hci_packet()
482 …self.response_type = ::std::option::Option::Some(StreamPacketsResponse_oneof_response_type::hci_pa… in set_hci_packet()
487 …if let ::std::option::Option::Some(StreamPacketsResponse_oneof_response_type::hci_packet(_)) = sel… in mut_hci_packet()
489 …self.response_type = ::std::option::Option::Some(StreamPacketsResponse_oneof_response_type::hci_pa… in mut_hci_packet()
492 …::std::option::Option::Some(StreamPacketsResponse_oneof_response_type::hci_packet(ref mut v)) => v, in mut_hci_packet()
501 … ::std::option::Option::Some(StreamPacketsResponse_oneof_response_type::hci_packet(v)) => v, in take_hci_packet()
514 … ::std::option::Option::Some(StreamPacketsResponse_oneof_response_type::packet(ref v)) => v, in get_packet()
519 self.response_type = ::std::option::Option::None; in clear_packet()
524 … ::std::option::Option::Some(StreamPacketsResponse_oneof_response_type::packet(..)) => true, in has_packet()
531 …self.response_type = ::std::option::Option::Some(StreamPacketsResponse_oneof_response_type::packet… in set_packet()
536 …if let ::std::option::Option::Some(StreamPacketsResponse_oneof_response_type::packet(_)) = self.re… in mut_packet()
538 …self.response_type = ::std::option::Option::Some(StreamPacketsResponse_oneof_response_type::packet… in mut_packet()
541 … ::std::option::Option::Some(StreamPacketsResponse_oneof_response_type::packet(ref mut v)) => v, in mut_packet()
550 … ::std::option::Option::Some(StreamPacketsResponse_oneof_response_type::packet(v)) => v, in take_packet()
577 …self.response_type = ::std::option::Option::Some(StreamPacketsResponse_oneof_response_type::error(… in merge_from()
583 …self.response_type = ::std::option::Option::Some(StreamPacketsResponse_oneof_response_type::hci_pa… in merge_from()
589 …self.response_type = ::std::option::Option::Some(StreamPacketsResponse_oneof_response_type::packet… in merge_from()
603 if let ::std::option::Option::Some(ref v) = self.response_type { in compute_size()
623 if let ::std::option::Option::Some(ref v) = self.response_type { in write_to_with_cached_sizes()
707 self.response_type = ::std::option::Option::None; in clear()
708 self.response_type = ::std::option::Option::None; in clear()
709 self.response_type = ::std::option::Option::None; in clear()