Skip to main content

Surface

Struct Surface 

Source
pub struct Surface {
Show 17 fields pub surface_id: String, pub surface_name: String, pub root: PathBuf, pub repo: String, pub session: Session, pub session_id: String, pub started_at: u64, pub runtime: SurfaceRuntimeInfo, pub days: u64, pub token: String, pub message_credential: String, pub open_codes: OpenCodes, pub requests: Arc<RequestsState>, pub publisher: Arc<dyn Publisher>, pub mcp: Arc<McpManager>, pub reconcile_lock: Mutex<()>, pub reconcile_requested: AtomicBool,
}

Fields§

§surface_id: String§surface_name: String§root: PathBuf§repo: String§session: Session§session_id: String§started_at: u64§runtime: SurfaceRuntimeInfo§days: u64§token: String§message_credential: String§open_codes: OpenCodes§requests: Arc<RequestsState>§publisher: Arc<dyn Publisher>§mcp: Arc<McpManager>§reconcile_lock: Mutex<()>§reconcile_requested: AtomicBool

Auto Trait Implementations§

§

impl !Freeze for Surface

§

impl !RefUnwindSafe for Surface

§

impl !UnwindSafe for Surface

§

impl Forget for Surface

§

impl Move for Surface

§

impl Send for Surface
where RawVecInner: Send, Arc<SessionGuard>: Send, Mutex<VecDeque<OpenCodeEntry>>: Send, Arc<RequestsState>: Send, Arc<dyn Publisher>: Send, Arc<McpManager>: Send, Mutex<()>: Send, Atomic<bool>: Send,

§

impl Sync for Surface
where RawVecInner: Sync, Arc<SessionGuard>: Sync, Mutex<VecDeque<OpenCodeEntry>>: Sync, Arc<RequestsState>: Sync, Arc<dyn Publisher>: Sync, Arc<McpManager>: Sync, Mutex<()>: Sync, Atomic<bool>: Sync,

§

impl Unpin for Surface
where *const u8 is !null: Unpin, Arc<SessionGuard>: Unpin, Align4<u32>: Unpin, Align1<u8>: Unpin, Arc<RequestsState>: Unpin, Arc<dyn Publisher>: Unpin, Arc<McpManager>: Unpin,

§

impl UnsafeUnpin for Surface
where *const u8 is !null: UnsafeUnpin, PhantomData<u8>: UnsafeUnpin, *const ArcInner<SessionGuard> is !null: UnsafeUnpin, PhantomData<ArcInner<SessionGuard>>: UnsafeUnpin, Align4<u32>: UnsafeUnpin, Align1<u8>: UnsafeUnpin, PhantomData<OpenCodeEntry>: UnsafeUnpin, *const ArcInner<RequestsState> is !null: UnsafeUnpin, PhantomData<ArcInner<RequestsState>>: UnsafeUnpin, *const ArcInner<dyn Publisher> is !null: UnsafeUnpin, PhantomData<ArcInner<dyn Publisher>>: UnsafeUnpin, *const ArcInner<McpManager> is !null: UnsafeUnpin, PhantomData<ArcInner<McpManager>>: UnsafeUnpin,

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> Pointable for T

Source§

const ALIGN: usize

The alignment of pointer.
Source§

type Init = T

The type for initializers.
Source§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
Source§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
Source§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
Source§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
Source§

impl<T> Same for T

Source§

type Output = T

Should always be Self
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = !

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, !>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.