[−][src]Enum kekbit_core::api::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
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>,