pub enum BroadcastError {
Unsupported,
DelegationUnsupported,
OutOfScope(Endpoint),
Serialization(String),
}Expand description
Error returned by IpcClient::broadcast when the group could
not be turned into a set of endpoints. Nothing has been sent when this is returned; failures to
deliver to an individual endpoint are reported per endpoint instead.
Variants§
Unsupported
The platform cannot resolve this group.
DelegationUnsupported
The platform asked to delegate delivery to another endpoint, which is not supported.
OutOfScope(Endpoint)
The platform resolved the group to an endpoint outside of it.
Serialization(String)
The payload could not be serialized.
Trait Implementations§
Source§impl Clone for BroadcastError
impl Clone for BroadcastError
Source§fn clone(&self) -> BroadcastError
fn clone(&self) -> BroadcastError
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 BroadcastError
impl Debug for BroadcastError
Source§impl Display for BroadcastError
impl Display for BroadcastError
impl Eq for BroadcastError
Source§impl Error for BroadcastError
impl Error for BroadcastError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
Source§impl FlatError for BroadcastError
impl FlatError for BroadcastError
fn error_variant(&self) -> &'static str
Source§impl From<BroadcastError> for JsValue
impl From<BroadcastError> for JsValue
Source§fn from(error: BroadcastError) -> Self
fn from(error: BroadcastError) -> Self
Converts to this type from the input type.
Source§impl PartialEq for BroadcastError
impl PartialEq for BroadcastError
impl StructuralPartialEq for BroadcastError
Auto Trait Implementations§
impl Freeze for BroadcastError
impl RefUnwindSafe for BroadcastError
impl Send for BroadcastError
impl Sync for BroadcastError
impl Unpin for BroadcastError
impl UnsafeUnpin for BroadcastError
impl UnwindSafe for BroadcastError
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T> CompatExt for T
impl<T> CompatExt for T
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.§impl<T, UT> HandleAlloc<UT> for T
impl<T, UT> HandleAlloc<UT> for T
§fn new_handle(value: Arc<T>) -> Handle
fn new_handle(value: Arc<T>) -> Handle
Create a new handle for an Arc value Read more
§unsafe fn clone_handle(handle: Handle) -> Handle
unsafe fn clone_handle(handle: Handle) -> Handle
Clone a handle Read more
§unsafe fn consume_handle(handle: Handle) -> Arc<T> ⓘ
unsafe fn consume_handle(handle: Handle) -> Arc<T> ⓘ
Consume a handle, getting back the initial
Arc<> Read more