pub struct BoardTask {
pub rt: Handle,
pub state: Arc<AppState>,
pub handle: Handle,
pub channel: ChannelId,
pub size: (u16, u16),
pub tenants: Vec<Tenant>,
pub input: Receiver<RemoteInput>,
}Expand description
Everything the blocking board task needs, captured on the async side
(Handle::current() is only guaranteed there).
Fields§
§rt: Handle§state: Arc<AppState>§handle: Handle§channel: ChannelId§size: (u16, u16)Initial pty size from pty-req.
tenants: Vec<Tenant>The user’s memberships; picker shown when more than one.
input: Receiver<RemoteInput>Auto Trait Implementations§
impl !Sync for BoardTask
impl Freeze for BoardTask
impl RefUnwindSafe for BoardTask
impl Send for BoardTask
impl Unpin for BoardTask
impl UnsafeUnpin for BoardTask
impl UnwindSafe for BoardTask
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<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
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