pub enum ByteAccessError {
OutOfBounds,
Busy,
Reset,
Access,
}Expand description
Failure while accessing a validated transport byte region.
Variants§
OutOfBounds
The requested logical range is outside the mapped region.
Busy
Another live access currently owns the same bytes.
Reset
Queue reset invalidated the region before access.
Access
The concrete transport can no longer access the mapped memory.
Trait Implementations§
Source§impl Clone for ByteAccessError
impl Clone for ByteAccessError
impl Copy for ByteAccessError
Source§impl Debug for ByteAccessError
impl Debug for ByteAccessError
impl Eq for ByteAccessError
Source§impl PartialEq for ByteAccessError
impl PartialEq for ByteAccessError
impl StructuralPartialEq for ByteAccessError
Auto Trait Implementations§
impl Freeze for ByteAccessError
impl RefUnwindSafe for ByteAccessError
impl Send for ByteAccessError
impl Sync for ByteAccessError
impl Unpin for ByteAccessError
impl UnsafeUnpin for ByteAccessError
impl UnwindSafe for ByteAccessError
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