pub enum Answer {
None,
String(String),
Raw(Vec<u8>),
}
Expand description
Type of Answer
§Values
None
- Without answer.String(String)
- Answer in the form of text.Raw(Vec<u8>)
- Answer in binary data.
Variants§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Answer
impl RefUnwindSafe for Answer
impl Send for Answer
impl Sync for Answer
impl Unpin for Answer
impl UnwindSafe for Answer
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