Enum instance_chart::Error
source · pub enum Error {
Construct(Error),
SetReuse(Error),
SetBroadcast(Error),
SetMulticast(Error),
SetTTL(Error),
SetNonBlocking(Error),
Bind {
error: Error,
port: u16,
},
JoinMulticast(Error),
ToTokio(Error),
}
Expand description
Errors that can occure while building a Chart. Except for Bind
these rarely
occur.
Variants§
Construct(Error)
Could not set up bare socket
SetReuse(Error)
Failed to set Reuse flag on the socket
SetBroadcast(Error)
Failed to set Broadcast flag on the socket
SetMulticast(Error)
Failed to set Multicast flag on the socket
SetTTL(Error)
Failed to set TTL flag on the socket
SetNonBlocking(Error)
Failed to set NonBlocking flag on the socket
Bind
Error binding to socket, you might want to try another discovery port and/or enable local_discovery
.
JoinMulticast(Error)
Failed joining multicast network
ToTokio(Error)
Failed to transform blocking to async socket
Trait Implementations§
source§impl Error for Error
impl Error for Error
1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
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()