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
Source§fn clone(&self) -> ByteAccessError
fn clone(&self) -> ByteAccessError
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl 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
Source§fn eq(&self, other: &ByteAccessError) -> bool
fn eq(&self, other: &ByteAccessError) -> bool
Tests for
self and other values to be equal, and is used by ==.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