Enum ipc_channel::SerializeError
[−]
pub enum SerializeError {
IoError(Error),
SizeLimit,
Custom(String),
}An error that can be produced during encoding.
Variants
IoError(Error)An error originating from the underlying Writer.
SizeLimitAn object could not be encoded with the given size limit.
This error is returned before any bytes are written to the
output Writer.
Custom(String)A custom error message
Trait Implementations
impl Error for SerializeError
fn description(&self) -> &str
fn cause(&self) -> Option<&Error>
impl Error for SerializeError
fn custom<T>(msg: T) -> SerializeError where T: Into<String>
impl Display for SerializeError
impl Debug for SerializeError
fn fmt(&self, __arg_0: &mut Formatter) -> Result<(), Error>
Formats the value using the given formatter.
impl From<UnixError> for SerializeError[src]
fn from(unix_error: UnixError) -> SerializeError
Performs the conversion.