pub struct ErrorBuilder { /* private fields */ }
Implementations§
Source§impl ErrorBuilder
impl ErrorBuilder
Sourcepub fn flag(self, flags: FrameFlags) -> Self
pub fn flag(self, flags: FrameFlags) -> Self
Sets flag(s) with value of flags
Sourcepub fn error_code(self, error_code: ErrorCode) -> Self
pub fn error_code(self, error_code: ErrorCode) -> Self
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ErrorBuilder
impl RefUnwindSafe for ErrorBuilder
impl Send for ErrorBuilder
impl Sync for ErrorBuilder
impl Unpin for ErrorBuilder
impl UnwindSafe for ErrorBuilder
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