pub enum ChannelResponse {
Auth {
request_id: String,
},
Command {
request_id: String,
result: CommandResult,
},
Query {
request_id: String,
result: QueryResult,
},
}Expand description
Channel response enum for different response types (WebSocket-specific)
Variants§
Auth
Authentication response
Command
Command execution response with frames
Query
Query execution response with frames
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ChannelResponse
impl RefUnwindSafe for ChannelResponse
impl Send for ChannelResponse
impl Sync for ChannelResponse
impl Unpin for ChannelResponse
impl UnwindSafe for ChannelResponse
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