pub enum Response {
Shell(ShellResponse),
IoPub(IoPubResponse),
}
Expand description
Overall response type
There are two responses available:
- responses that come from sending a shell message, and
- responses that come from the IOPub socket.
These two responses are then wrapped into a single Response
type so that functions can return any
response.
Variants§
Shell(ShellResponse)
Response from sending a shell message.
IoPub(IoPubResponse)
Response from the IOPub socket, sent from the kernel.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Response
impl RefUnwindSafe for Response
impl Send for Response
impl Sync for Response
impl Unpin for Response
impl UnwindSafe for Response
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