pub enum BroadcastCapacityMorphError {
InvalidCapacity,
Broadcast(BroadcastError),
Io(Error),
}Expand description
Errors returned by capacity-morph operations on a broadcast ring.
Variants§
InvalidCapacity
Target capacity is not a power of two, or less than 2.
Broadcast(BroadcastError)
Underlying broadcast ring allocation failed during the morph. The active backing is unchanged.
Io(Error)
I/O error during file / shmfs backing creation.
Trait Implementations§
Source§impl Debug for BroadcastCapacityMorphError
impl Debug for BroadcastCapacityMorphError
Source§impl Error for BroadcastCapacityMorphError
impl Error for BroadcastCapacityMorphError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
Source§impl From<BroadcastError> for BroadcastCapacityMorphError
impl From<BroadcastError> for BroadcastCapacityMorphError
Source§fn from(e: BroadcastError) -> Self
fn from(e: BroadcastError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl !RefUnwindSafe for BroadcastCapacityMorphError
impl !UnwindSafe for BroadcastCapacityMorphError
impl Freeze for BroadcastCapacityMorphError
impl Send for BroadcastCapacityMorphError
impl Sync for BroadcastCapacityMorphError
impl Unpin for BroadcastCapacityMorphError
impl UnsafeUnpin for BroadcastCapacityMorphError
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