#[repr(C)]pub struct moq_protocol_error {
pub scope: u32,
pub code: u32,
pub kind: u32,
}Expand description
A protocol failure a peer sent: scope, verbatim wire code, and recognized kind.
Filled by crate::moq_error_protocol after a call returned a negative code. Do not parse
crate::moq_error for this; that string is diagnostics only.
Fields§
§scope: u32moq_error_scope discriminant.
code: u32The integer on the wire, kept verbatim.
kind: u32moq_protocol_kind discriminant.
Trait Implementations§
Source§impl Clone for moq_protocol_error
impl Clone for moq_protocol_error
impl Copy for moq_protocol_error
Auto Trait Implementations§
impl Freeze for moq_protocol_error
impl RefUnwindSafe for moq_protocol_error
impl Send for moq_protocol_error
impl Sync for moq_protocol_error
impl Unpin for moq_protocol_error
impl UnsafeUnpin for moq_protocol_error
impl UnwindSafe for moq_protocol_error
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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