Struct dagger_sdk::Port
source · pub struct Port {
pub proc: Option<Arc<Child>>,
pub selection: Selection,
pub graphql_client: DynGraphQLClient,
}Fields§
§proc: Option<Arc<Child>>§selection: Selection§graphql_client: DynGraphQLClientImplementations§
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 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 network protocol.
Trait Implementations§
Auto Trait Implementations§
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