pub struct RealtimeErrorBuilder(/* private fields */);Expand description
Builder for RealtimeError.
Implementations§
Source§impl RealtimeErrorBuilder
impl RealtimeErrorBuilder
pub fn code(self, value: impl Into<Option<String>>) -> Self
pub fn event_id(self, value: impl Into<Option<String>>) -> Self
pub fn param(self, value: impl Into<Option<String>>) -> Self
pub fn rest(self, value: Rest) -> Self
Sourcepub fn build(self) -> RealtimeError
pub fn build(self) -> RealtimeError
Return the completed wire value.
Auto Trait Implementations§
impl Freeze for RealtimeErrorBuilder
impl RefUnwindSafe for RealtimeErrorBuilder
impl Send for RealtimeErrorBuilder
impl Sync for RealtimeErrorBuilder
impl Unpin for RealtimeErrorBuilder
impl UnsafeUnpin for RealtimeErrorBuilder
impl UnwindSafe for RealtimeErrorBuilder
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