pub struct Server { /* private fields */ }Expand description
CCIP-Read Server.
Implementations§
Source§impl Server
impl Server
Sourcepub fn new(ip_address: IpAddr, port: u16) -> Self
pub fn new(ip_address: IpAddr, port: u16) -> Self
Create a new server
§Arguments
ip_addressthe IP address to bind toportthe port the server should bind to
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Server
impl !RefUnwindSafe for Server
impl Send for Server
impl Sync for Server
impl Unpin for Server
impl !UnwindSafe for Server
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