#[non_exhaustive]pub enum Request {
Topic(UUri),
Subscriber(SubscriberInfo),
}
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Topic(UUri)
Subscriber(SubscriberInfo)
Trait Implementations§
Source§impl OneofFull for Request
impl OneofFull for Request
Source§fn descriptor() -> OneofDescriptor
fn descriptor() -> OneofDescriptor
Descriptor object for this oneof.
impl Oneof for Request
impl StructuralPartialEq for Request
Auto Trait Implementations§
impl !Freeze for Request
impl RefUnwindSafe for Request
impl Send for Request
impl Sync for Request
impl Unpin for Request
impl UnwindSafe for Request
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