pub enum ClientMsg {
Hello {
jwt: Option<String>,
},
Request {
request_id: i32,
request: Request,
},
}
Variants§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ClientMsg
impl RefUnwindSafe for ClientMsg
impl Send for ClientMsg
impl Sync for ClientMsg
impl Unpin for ClientMsg
impl UnwindSafe for ClientMsg
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