pub struct A2aServerState { /* private fields */ }Expand description
A2A Server State containing shared resources
Implementations§
Source§impl A2aServerState
impl A2aServerState
Sourcepub fn new(task_manager: TaskManager, agent_card: AgentCard) -> Self
pub fn new(task_manager: TaskManager, agent_card: AgentCard) -> Self
Create a new server state
Trait Implementations§
Source§impl Clone for A2aServerState
impl Clone for A2aServerState
Source§fn clone(&self) -> A2aServerState
fn clone(&self) -> A2aServerState
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 moreAuto Trait Implementations§
impl !RefUnwindSafe for A2aServerState
impl !UnwindSafe for A2aServerState
impl Freeze for A2aServerState
impl Send for A2aServerState
impl Sync for A2aServerState
impl Unpin for A2aServerState
impl UnsafeUnpin for A2aServerState
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