pub enum TransportEvent {
Message(JsonRpcMessage),
Error(McpError),
Closed,
}
Variants§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for TransportEvent
impl RefUnwindSafe for TransportEvent
impl Send for TransportEvent
impl Sync for TransportEvent
impl Unpin for TransportEvent
impl UnwindSafe for TransportEvent
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