pub struct GetPeerAddrs {}
Expand description
Serialized arguments for the get_peer_addrs
server function.
Server function to retrieve the list of peer addresses
Trait Implementations§
Source§impl Clone for GetPeerAddrs
impl Clone for GetPeerAddrs
Source§fn clone(&self) -> GetPeerAddrs
fn clone(&self) -> GetPeerAddrs
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for GetPeerAddrs
impl Debug for GetPeerAddrs
Source§impl<'de> Deserialize<'de> for GetPeerAddrs
impl<'de> Deserialize<'de> for GetPeerAddrs
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Serialize for GetPeerAddrs
impl Serialize for GetPeerAddrs
Source§impl ServerFn for GetPeerAddrs
impl ServerFn for GetPeerAddrs
Source§const PATH: &'static str
const PATH: &'static str
A unique path for the server function’s API endpoint, relative to the host, including its prefix.
Source§type Client = BrowserClient
type Client = BrowserClient
The type of the HTTP client that will send the request from the client side. Read more
Source§type ServerRequest = Request<Body>
type ServerRequest = Request<Body>
The type of the HTTP request when received by the server function on the server side.
Source§type ServerResponse = Response<Body>
type ServerResponse = Response<Body>
The type of the HTTP response returned by the server function on the server side.
Source§type InputEncoding = PostUrl
type InputEncoding = PostUrl
The [
Encoding
] used in the request for arguments into the server function.Source§type OutputEncoding = Json
type OutputEncoding = Json
The [
Encoding
] used in the response for the result of the server function.Source§type Error = NoCustomError
type Error = NoCustomError
The type of the custom error on [
ServerFnError
], if any. (If there is no
custom error type, this can be NoCustomError
by default.)Source§fn middlewares() -> Vec<Arc<dyn Layer<Request<Body>, Response<Body>>>>
fn middlewares() -> Vec<Arc<dyn Layer<Request<Body>, Response<Body>>>>
Middleware that should be applied to this server function.
Auto Trait Implementations§
impl Freeze for GetPeerAddrs
impl RefUnwindSafe for GetPeerAddrs
impl Send for GetPeerAddrs
impl Sync for GetPeerAddrs
impl Unpin for GetPeerAddrs
impl UnwindSafe for GetPeerAddrs
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<CustErr, T, Request> FromReq<GetUrl, Request, CustErr> for Twhere
Request: Req<CustErr> + Send + 'static,
T: DeserializeOwned,
impl<CustErr, T, Request> FromReq<GetUrl, Request, CustErr> for Twhere
Request: Req<CustErr> + Send + 'static,
T: DeserializeOwned,
§impl<CustErr, T, Request> FromReq<Json, Request, CustErr> for Twhere
Request: Req<CustErr> + Send + 'static,
T: DeserializeOwned,
impl<CustErr, T, Request> FromReq<Json, Request, CustErr> for Twhere
Request: Req<CustErr> + Send + 'static,
T: DeserializeOwned,
§impl<CustErr, T, Request> FromReq<PostUrl, Request, CustErr> for Twhere
Request: Req<CustErr> + Send + 'static,
T: DeserializeOwned,
impl<CustErr, T, Request> FromReq<PostUrl, Request, CustErr> for Twhere
Request: Req<CustErr> + Send + 'static,
T: DeserializeOwned,
§impl<CustErr, T, Response> FromRes<Json, Response, CustErr> for T
impl<CustErr, T, Response> FromRes<Json, Response, CustErr> for T
§impl<T> InitializeFromFunction<T> for T
impl<T> InitializeFromFunction<T> for T
§fn initialize_from_function(f: fn() -> T) -> T
fn initialize_from_function(f: fn() -> T) -> T
Create an instance of this type from an initialization function
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
§impl<CustErr, T, Request> IntoReq<GetUrl, Request, CustErr> for T
impl<CustErr, T, Request> IntoReq<GetUrl, Request, CustErr> for T
§impl<CustErr, T, Request> IntoReq<Json, Request, CustErr> for T
impl<CustErr, T, Request> IntoReq<Json, Request, CustErr> for T
§impl<CustErr, T, Request> IntoReq<PostUrl, Request, CustErr> for T
impl<CustErr, T, Request> IntoReq<PostUrl, Request, CustErr> for T
§impl<CustErr, T, Response> IntoRes<Json, Response, CustErr> for T
impl<CustErr, T, Response> IntoRes<Json, Response, CustErr> for T
§impl<T, O> SuperFrom<T> for Owhere
O: From<T>,
impl<T, O> SuperFrom<T> for Owhere
O: From<T>,
§fn super_from(input: T) -> O
fn super_from(input: T) -> O
Convert from a type to another type.
§impl<T, O, M> SuperInto<O, M> for Twhere
O: SuperFrom<T, M>,
impl<T, O, M> SuperInto<O, M> for Twhere
O: SuperFrom<T, M>,
§fn super_into(self) -> O
fn super_into(self) -> O
Convert from a type to another type.