pub enum Error {
InvalidInput,
ProtocolViolation(&'static str),
Underrun,
Timeout,
}Variants§
InvalidInput
InvalidInput indicates that execution failed due to bad input arguments into the function.
ProtocolViolation(&'static str)
ProtocolViolation indicates an error that is rooted in failing to follow the established
protocol.
Underrun
Underrun represents a (buffer) underrun, i.e. no more data is available.
Timeout
Timeout represents a reached deadline, i.e. the allocated time has passed.
Trait Implementations§
Source§impl Ord for Error
impl Ord for Error
Source§impl PartialOrd for Error
impl PartialOrd for Error
impl Eq for Error
impl StructuralPartialEq for Error
Auto Trait Implementations§
impl Freeze for Error
impl RefUnwindSafe for Error
impl Send for Error
impl Sync for Error
impl Unpin for Error
impl UnwindSafe for Error
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