pub enum InterestHandlerResponse {
Default,
Upload {
source: InterestUploadSource,
groups: Vec<String>,
},
Transmit(DeviceId),
Resp(RespInterestFields),
Handled,
}
Variants§
Implementations§
source§impl InterestHandlerResponse
impl InterestHandlerResponse
pub fn type_str(&self) -> &str
pub fn resp_interest(&self) -> Option<&RespInterestFields>
pub fn transmit_to(&self) -> Option<&DeviceId>
Trait Implementations§
source§impl Clone for InterestHandlerResponse
impl Clone for InterestHandlerResponse
source§fn clone(&self) -> InterestHandlerResponse
fn clone(&self) -> InterestHandlerResponse
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more