pub enum TerminalScope {
Connection,
Request,
}Expand description
Where a wire error terminates: the whole connection, or just the operation id it echoes.
Variants§
Connection
The error is followed by connection close. It carries no operation id.
Request
The error terminates only the operation id it echoes (a request, subscribe, or unsubscribe id); the connection stays usable.
Trait Implementations§
Source§impl Clone for TerminalScope
impl Clone for TerminalScope
impl Copy for TerminalScope
Source§impl Debug for TerminalScope
impl Debug for TerminalScope
impl Eq for TerminalScope
Source§impl PartialEq for TerminalScope
impl PartialEq for TerminalScope
impl StructuralPartialEq for TerminalScope
Auto Trait Implementations§
impl Freeze for TerminalScope
impl RefUnwindSafe for TerminalScope
impl Send for TerminalScope
impl Sync for TerminalScope
impl Unpin for TerminalScope
impl UnsafeUnpin for TerminalScope
impl UnwindSafe for TerminalScope
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