pub struct Port {
pub proc: Option<Arc<DaggerSessionProc>>,
pub selection: Selection,
pub graphql_client: DynGraphQLClient,
}
Fields§
§proc: Option<Arc<DaggerSessionProc>>
§selection: Selection
§graphql_client: DynGraphQLClient
Implementations§
Source§impl Port
impl Port
Sourcepub async fn description(&self) -> Result<String, DaggerError>
pub async fn description(&self) -> Result<String, DaggerError>
The port description.
Sourcepub async fn experimental_skip_healthcheck(&self) -> Result<bool, DaggerError>
pub async fn experimental_skip_healthcheck(&self) -> Result<bool, DaggerError>
Skip the health check when run as a service.
Sourcepub async fn id(&self) -> Result<PortId, DaggerError>
pub async fn id(&self) -> Result<PortId, DaggerError>
A unique identifier for this Port.
Sourcepub async fn port(&self) -> Result<isize, DaggerError>
pub async fn port(&self) -> Result<isize, DaggerError>
The port number.
Sourcepub async fn protocol(&self) -> Result<NetworkProtocol, DaggerError>
pub async fn protocol(&self) -> Result<NetworkProtocol, DaggerError>
The transport layer protocol.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Port
impl !RefUnwindSafe for Port
impl Send for Port
impl Sync for Port
impl Unpin for Port
impl !UnwindSafe for Port
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