pub enum ShardingPlanStateResponse {
AlreadyAssigned {
pid: Principal,
},
UseExisting {
pid: Principal,
},
CreateAllowed,
CreateBlocked {
reason: String,
},
}Variants§
Trait Implementations§
Source§impl Clone for ShardingPlanStateResponse
impl Clone for ShardingPlanStateResponse
Source§fn clone(&self) -> ShardingPlanStateResponse
fn clone(&self) -> ShardingPlanStateResponse
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 moreSource§impl Debug for ShardingPlanStateResponse
impl Debug for ShardingPlanStateResponse
Source§impl<'de> Deserialize<'de> for ShardingPlanStateResponse
impl<'de> Deserialize<'de> for ShardingPlanStateResponse
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for ShardingPlanStateResponse
Source§impl PartialEq for ShardingPlanStateResponse
impl PartialEq for ShardingPlanStateResponse
Source§fn eq(&self, other: &ShardingPlanStateResponse) -> bool
fn eq(&self, other: &ShardingPlanStateResponse) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ShardingPlanStateResponse
Auto Trait Implementations§
impl Freeze for ShardingPlanStateResponse
impl RefUnwindSafe for ShardingPlanStateResponse
impl Send for ShardingPlanStateResponse
impl Sync for ShardingPlanStateResponse
impl Unpin for ShardingPlanStateResponse
impl UnsafeUnpin for ShardingPlanStateResponse
impl UnwindSafe for ShardingPlanStateResponse
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