pub enum DataEntity {
Binary {
data: Vec<u8>,
},
Text {
data: String,
},
Error {
err: ConnectorError,
},
Success,
}Variants§
Trait Implementations§
Source§impl Clone for DataEntity
impl Clone for DataEntity
Source§fn clone(&self) -> DataEntity
fn clone(&self) -> DataEntity
Returns a duplicate 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 moreAuto Trait Implementations§
impl Freeze for DataEntity
impl RefUnwindSafe for DataEntity
impl Send for DataEntity
impl Sync for DataEntity
impl Unpin for DataEntity
impl UnwindSafe for DataEntity
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