pub enum Operation {
TransferData(Vec<u8>),
Error(i32, String),
Status(Status),
OpenConnection,
CloseConnection,
}
Expand description
Represent each possible operation
Variants§
Trait Implementations§
source§impl PartialEq for Operation
impl PartialEq for Operation
impl Eq for Operation
impl StructuralPartialEq for Operation
Auto Trait Implementations§
impl Freeze for Operation
impl RefUnwindSafe for Operation
impl Send for Operation
impl Sync for Operation
impl Unpin for Operation
impl UnwindSafe for Operation
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