pub struct DbSource<'a> {
pub db: &'a Db,
pub status: &'a RwLock<Status>,
pub peers: &'a RwLock<Arc<Vec<u8>>>,
}Expand description
DB と、駆動役が出来事ごとに書く様子と一覧の答えから答える Source
Fields§
§db: &'a Db§status: &'a RwLock<Status>§peers: &'a RwLock<Arc<Vec<u8>>>Trait Implementations§
Auto Trait Implementations§
impl<'a> !RefUnwindSafe for DbSource<'a>
impl<'a> !UnwindSafe for DbSource<'a>
impl<'a> Freeze for DbSource<'a>
impl<'a> Send for DbSource<'a>
impl<'a> Sync for DbSource<'a>
impl<'a> Unpin for DbSource<'a>
impl<'a> UnsafeUnpin for DbSource<'a>
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
impl<A, B, T> HttpServerConnExec<A, B> for Twhere
B: Body,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more