Enum bolic_network::hub::peer::HubError
source · pub enum HubError {
InvalidAddr,
PeerNotExist,
FailedToCreateTransport,
TransportNotExist,
Pool(PoolError),
Driver(DriverError),
Endpoint(EndpointError),
}Variants§
InvalidAddr
PeerNotExist
FailedToCreateTransport
TransportNotExist
Pool(PoolError)
Driver(DriverError)
Endpoint(EndpointError)
Trait Implementations§
source§impl From<DriverError> for HubError
impl From<DriverError> for HubError
source§fn from(err: DriverError) -> Self
fn from(err: DriverError) -> Self
Converts to this type from the input type.
source§impl From<EndpointError> for HubError
impl From<EndpointError> for HubError
source§fn from(err: EndpointError) -> Self
fn from(err: EndpointError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for HubError
impl !RefUnwindSafe for HubError
impl Send for HubError
impl Sync for HubError
impl Unpin for HubError
impl !UnwindSafe for HubError
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