[−]Enum crust::CrustError
Crust's universal error type.
Variants
ChannelRecv(RecvError)
Failed receiving from an mpsc::channel
ConfigFileHandler(Error)
Config file handling errors
Io(Error)
Wrapper for a std::io::Error
ServiceDiscNotEnabled
ServiceDiscovery not enabled yet
ServiceDisc(ServiceDiscoveryError)
ServiceDiscovery Errors
InsufficientConnectionInfo
ServiceDiscovery not enabled yet
Nat(NatError)
Nat Traversal errors
Common(CommonError)
Common module errors
CoreMsgTx(SendError<CoreMessage>)
CoreMsg send error
PeerNotFound
Peer not found
Serialisation(SerialisationError)
Serialisation error
RequestedConnectToSelf
Requested connect to self
ListenerNotIntialised
Listener is not initialised yet.
Trait Implementations
impl From<RecvError> for CrustError
fn from(e: RecvError) -> CrustError
impl From<Error> for CrustError
fn from(e: Error) -> CrustError
impl From<Error> for CrustError
fn from(e: Error) -> CrustError
impl From<SendError<CoreMessage>> for CrustError
fn from(e: SendError<CoreMessage>) -> CrustError
impl From<SerialisationError> for CrustError
fn from(e: SerialisationError) -> CrustError
impl Debug for CrustError
[src]
impl Display for CrustError
impl Error for CrustError
Auto Trait Implementations
impl Send for CrustError
impl !Sync for CrustError
Blanket Implementations
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> From<T> for T
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Typeable for T where
T: Any,
T: Any,
impl<T> DebugAny for T where
T: Any + Debug,
T: Any + Debug,
impl<T> UnsafeAny for T where
T: Any,
T: Any,