pub enum OnReqReceiveError {
Ignore,
Send(Sender<RecvError>),
Fail,
}Available on crate feature
rtc only.Expand description
Determines what should happen on the server-side if receiving an RTC request fails.
Client-side behavior is unaffected by this choice, and will always
result in a CallError if the RTC request fails for any reason.
Variants§
Ignore
Ignore the failure to receive the request and write a log message.
Send(Sender<RecvError>)
Send the receive error over the local MPSC channel.
Fail
Fail the server, returning the receive error.
Trait Implementations§
Source§impl Clone for OnReqReceiveError
impl Clone for OnReqReceiveError
Source§fn clone(&self) -> OnReqReceiveError
fn clone(&self) -> OnReqReceiveError
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for OnReqReceiveError
impl Debug for OnReqReceiveError
Source§impl Default for OnReqReceiveError
impl Default for OnReqReceiveError
Source§fn default() -> OnReqReceiveError
fn default() -> OnReqReceiveError
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for OnReqReceiveError
impl RefUnwindSafe for OnReqReceiveError
impl Send for OnReqReceiveError
impl Sync for OnReqReceiveError
impl Unpin for OnReqReceiveError
impl UnwindSafe for OnReqReceiveError
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