Struct bitcoin_peerman::CS_LAST_BLOCK_FILE
source · pub struct CS_LAST_BLOCK_FILE { /* private fields */ }Methods from Deref<Target = Amo<()>>§
pub fn is_some(&self) -> bool
pub fn is_none(&self) -> bool
pub fn take(&self) -> Option<T>
pub fn load(&self, inner: Option<T>)
pub fn replace(&self, inner: &T)
pub fn get<'a>(&'a self) -> MappedRwLockReadGuard<'a, RawRwLock, T>
pub fn get_mut<'a>(&'a self) -> MappedRwLockWriteGuard<'a, RawRwLock, T>
pub fn getopt<'a>(&'a self) -> RwLockReadGuard<'a, RawRwLock, Option<T>>
pub fn getopt_mut<'a>(&'a self) -> RwLockWriteGuard<'a, RawRwLock, Option<T>>
Trait Implementations§
source§impl Deref for CS_LAST_BLOCK_FILE
impl Deref for CS_LAST_BLOCK_FILE
impl LazyStatic for CS_LAST_BLOCK_FILE
Auto Trait Implementations§
impl RefUnwindSafe for CS_LAST_BLOCK_FILE
impl Send for CS_LAST_BLOCK_FILE
impl Sync for CS_LAST_BLOCK_FILE
impl Unpin for CS_LAST_BLOCK_FILE
impl UnwindSafe for CS_LAST_BLOCK_FILE
Blanket Implementations§
§impl<T, U> CastInto<U> for Twhere
U: CastFrom<T>,
impl<T, U> CastInto<U> for Twhere U: CastFrom<T>,
§impl<T> Pointable for T
impl<T> Pointable for T
§impl<T> StaticUpcast<T> for T
impl<T> StaticUpcast<T> for T
§unsafe fn static_upcast(ptr: Ptr<T>) -> Ptr<T>
unsafe fn static_upcast(ptr: Ptr<T>) -> Ptr<T>
Convert type of a const pointer. Read more