[−][src]Enum kekbit::core::ChannelError
Channel Access errors
Variants
The channel has an invalid signature. The channel signature must be 0x2A54_4942_4B45_4B2A
Fields of InvalidSignature
The channel's storage is of an incompatible file format
Fields of IncompatibleVersion
The channel's capacity is invalid. Either too small or is not aligned to 8 bytes.
Fields of InvalidCapacity
The maximum message length specified is invalid
Fields of InvalidMaxMessageLength
The channel storage does not exist
Fields of StorageNotFound
file_name: String
The file expected to back the channel storage
The channel storage is not ready to access
Fields of StorageNotReady
file_name: String
The file that backs the channel storage
The channel storage is not ready to access
Fields of StorageAlreadyExists
file_name: String
The file that backs the channel storage
The channel storage can't be accessed
Fields of CouldNotAccessStorage
file_name: String
The file that backs the channel storage
Mapping the channel's file to memory had failed
Fields of MemoryMappingFailed
reason: String
Fields of AccessError
reason: String
Trait Implementations
impl Debug for ChannelError
[src]
impl Eq for ChannelError
[src]
impl Hash for ChannelError
[src]
fn hash<__H>(&self, state: &mut __H) where
__H: Hasher,
[src]
__H: Hasher,
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
impl Ord for ChannelError
[src]
fn cmp(&self, other: &ChannelError) -> Ordering
[src]
#[must_use]
fn max(self, other: Self) -> Self
1.21.0[src]
#[must_use]
fn min(self, other: Self) -> Self
1.21.0[src]
#[must_use]
fn clamp(self, min: Self, max: Self) -> Self
[src]
impl PartialEq<ChannelError> for ChannelError
[src]
fn eq(&self, other: &ChannelError) -> bool
[src]
fn ne(&self, other: &ChannelError) -> bool
[src]
impl PartialOrd<ChannelError> for ChannelError
[src]
fn partial_cmp(&self, other: &ChannelError) -> Option<Ordering>
[src]
fn lt(&self, other: &ChannelError) -> bool
[src]
fn le(&self, other: &ChannelError) -> bool
[src]
fn gt(&self, other: &ChannelError) -> bool
[src]
fn ge(&self, other: &ChannelError) -> bool
[src]
impl StructuralEq for ChannelError
[src]
impl StructuralPartialEq for ChannelError
[src]
Auto Trait Implementations
impl RefUnwindSafe for ChannelError
impl Send for ChannelError
impl Sync for ChannelError
impl Unpin for ChannelError
impl UnwindSafe for ChannelError
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,