pub struct TryFromEndpointError { /* private fields */ }Expand description
BlockingEndpoint::new’s rejection: endpoint has
crate::NotificationModes::skip_set_event_on_handle set, which is
incompatible with the blocking backend (see new’s docs). Carries the
endpoint back so a caller that constructed it in error loses nothing.
Implementations§
Source§impl TryFromEndpointError
impl TryFromEndpointError
Sourcepub fn into_endpoint(self) -> UnassociatedEndpoint
pub fn into_endpoint(self) -> UnassociatedEndpoint
Recover the endpoint this rejection carries.
Trait Implementations§
Source§impl Debug for TryFromEndpointError
impl Debug for TryFromEndpointError
Source§impl Display for TryFromEndpointError
impl Display for TryFromEndpointError
Source§impl Error for TryFromEndpointError
impl Error for TryFromEndpointError
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 From<TryFromEndpointError> for Error
impl From<TryFromEndpointError> for Error
Source§fn from(error: TryFromEndpointError) -> Self
fn from(error: TryFromEndpointError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for TryFromEndpointError
impl RefUnwindSafe for TryFromEndpointError
impl Send for TryFromEndpointError
impl Sync for TryFromEndpointError
impl Unpin for TryFromEndpointError
impl UnsafeUnpin for TryFromEndpointError
impl UnwindSafe for TryFromEndpointError
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