pub enum WireFrame {
Update {
session_id: String,
event: SessionEvent,
},
PermissionRequest(IncomingPermission),
UnknownServerRequest {
id: RpcId,
method: String,
},
Response {
id: u64,
result: Value,
},
Error {
id: u64,
code: i64,
message: String,
data: String,
},
SignedOut,
Eof,
ProtocolError(String),
}Expand description
Frames delivered in strict FIFO receive order from the single stdout reader task.
Variants§
Update
PermissionRequest(IncomingPermission)
UnknownServerRequest
Response
Error
SignedOut
Eof
ProtocolError(String)
Trait Implementations§
Auto Trait Implementations§
impl Forget for WireFrame
impl Freeze for WireFrame
impl Move for WireFrame
impl RefUnwindSafe for WireFrame
impl Send for WireFrame
impl Sync for WireFrame
impl Unpin for WireFrame
impl UnsafeUnpin for WireFrame
impl UnwindSafe for WireFrame
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