Enum CloseState
pub enum CloseState {
NotRequested,
Requested,
Completed,
}Expand description
关闭责任进度;完成不表示最后共享存储已释放。
Variants§
Trait Implementations§
Source§impl Clone for CloseState
impl Clone for CloseState
Source§fn clone(&self) -> CloseState
fn clone(&self) -> CloseState
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 CloseState
Source§impl Debug for CloseState
impl Debug for CloseState
impl Eq for CloseState
Source§impl PartialEq for CloseState
impl PartialEq for CloseState
impl StructuralPartialEq for CloseState
Auto Trait Implementations§
impl Forget for CloseState
impl Freeze for CloseState
impl Move for CloseState
impl RefUnwindSafe for CloseState
impl Send for CloseState
impl Sync for CloseState
impl Unpin for CloseState
impl UnsafeUnpin for CloseState
impl UnwindSafe for CloseState
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.