pulumi_wasm_providers_gcp_mini::compute::router_peer

Struct RouterPeerArgsBuilder

source
pub struct RouterPeerArgsBuilder<S: State = Empty> { /* private fields */ }
Expand description

Use builder syntax to set the inputs and finish with build_struct().

Implementations§

source§

impl<S: State> RouterPeerArgsBuilder<S>

source

pub fn build_struct(self) -> RouterPeerArgs
where S: IsComplete,

Finish building and return the requested object

source

pub fn advertise_mode( self, value: impl Into<Output<Option<String>>>, ) -> RouterPeerArgsBuilder<SetAdvertiseMode<S>>
where S::AdvertiseMode: IsUnset,

Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<String>> as Default>::default().

User-specified flag to indicate which mode to use for advertisement. Valid values of this enum field are: DEFAULT, CUSTOM Default value is DEFAULT. Possible values are: DEFAULT, CUSTOM.

source

pub fn maybe_advertise_mode( self, value: Option<impl Into<Output<Option<String>>>>, ) -> RouterPeerArgsBuilder<SetAdvertiseMode<S>>
where S::AdvertiseMode: IsUnset,

Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<String>> as Default>::default().

User-specified flag to indicate which mode to use for advertisement. Valid values of this enum field are: DEFAULT, CUSTOM Default value is DEFAULT. Possible values are: DEFAULT, CUSTOM.

source

pub fn advertised_groups( self, value: impl Into<Output<Option<Vec<String>>>>, ) -> RouterPeerArgsBuilder<SetAdvertisedGroups<S>>
where S::AdvertisedGroups: IsUnset,

Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<Vec<String>>> as Default>::default().

User-specified list of prefix groups to advertise in custom mode, which currently supports the following option:

  • ALL_SUBNETS: Advertises all of the router’s own VPC subnets. This excludes any routes learned for subnets that use VPC Network Peering.

Note that this field can only be populated if advertiseMode is CUSTOM and overrides the list defined for the router (in the “bgp” message). These groups are advertised in addition to any specified prefixes. Leave this field blank to advertise no custom groups.

source

pub fn maybe_advertised_groups( self, value: Option<impl Into<Output<Option<Vec<String>>>>>, ) -> RouterPeerArgsBuilder<SetAdvertisedGroups<S>>
where S::AdvertisedGroups: IsUnset,

Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<Vec<String>>> as Default>::default().

User-specified list of prefix groups to advertise in custom mode, which currently supports the following option:

  • ALL_SUBNETS: Advertises all of the router’s own VPC subnets. This excludes any routes learned for subnets that use VPC Network Peering.

Note that this field can only be populated if advertiseMode is CUSTOM and overrides the list defined for the router (in the “bgp” message). These groups are advertised in addition to any specified prefixes. Leave this field blank to advertise no custom groups.

source

pub fn advertised_ip_ranges( self, value: impl Into<Output<Option<Vec<RouterPeerAdvertisedIpRange>>>>, ) -> RouterPeerArgsBuilder<SetAdvertisedIpRanges<S>>
where S::AdvertisedIpRanges: IsUnset,

Optional (Some / Option setters). Default:

<pulumi_wasm_rust::Output<
    Option<Vec<super::super::types::compute::RouterPeerAdvertisedIpRange>>,
> as Default>::default()

User-specified list of individual IP ranges to advertise in custom mode. This field can only be populated if advertiseMode is CUSTOM and is advertised to all peers of the router. These IP ranges will be advertised in addition to any specified groups. Leave this field blank to advertise no custom IP ranges. Structure is documented below.

source

pub fn maybe_advertised_ip_ranges( self, value: Option<impl Into<Output<Option<Vec<RouterPeerAdvertisedIpRange>>>>>, ) -> RouterPeerArgsBuilder<SetAdvertisedIpRanges<S>>
where S::AdvertisedIpRanges: IsUnset,

Optional (Some / Option setters). Default:

<pulumi_wasm_rust::Output<
    Option<Vec<super::super::types::compute::RouterPeerAdvertisedIpRange>>,
> as Default>::default()

User-specified list of individual IP ranges to advertise in custom mode. This field can only be populated if advertiseMode is CUSTOM and is advertised to all peers of the router. These IP ranges will be advertised in addition to any specified groups. Leave this field blank to advertise no custom IP ranges. Structure is documented below.

source

pub fn advertised_route_priority( self, value: impl Into<Output<Option<i32>>>, ) -> RouterPeerArgsBuilder<SetAdvertisedRoutePriority<S>>
where S::AdvertisedRoutePriority: IsUnset,

Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<i32>> as Default>::default().

The priority of routes advertised to this BGP peer. Where there is more than one matching route of maximum length, the routes with the lowest priority value win.

source

pub fn maybe_advertised_route_priority( self, value: Option<impl Into<Output<Option<i32>>>>, ) -> RouterPeerArgsBuilder<SetAdvertisedRoutePriority<S>>
where S::AdvertisedRoutePriority: IsUnset,

Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<i32>> as Default>::default().

The priority of routes advertised to this BGP peer. Where there is more than one matching route of maximum length, the routes with the lowest priority value win.

source

pub fn bfd( self, value: impl Into<Output<Option<RouterPeerBfd>>>, ) -> RouterPeerArgsBuilder<SetBfd<S>>
where S::Bfd: IsUnset,

Optional (Some / Option setters). Default:

<pulumi_wasm_rust::Output<
    Option<super::super::types::compute::RouterPeerBfd>,
> as Default>::default()

BFD configuration for the BGP peering. Structure is documented below.

source

pub fn maybe_bfd( self, value: Option<impl Into<Output<Option<RouterPeerBfd>>>>, ) -> RouterPeerArgsBuilder<SetBfd<S>>
where S::Bfd: IsUnset,

Optional (Some / Option setters). Default:

<pulumi_wasm_rust::Output<
    Option<super::super::types::compute::RouterPeerBfd>,
> as Default>::default()

BFD configuration for the BGP peering. Structure is documented below.

source

pub fn custom_learned_ip_ranges( self, value: impl Into<Output<Option<Vec<RouterPeerCustomLearnedIpRange>>>>, ) -> RouterPeerArgsBuilder<SetCustomLearnedIpRanges<S>>
where S::CustomLearnedIpRanges: IsUnset,

Optional (Some / Option setters). Default:

<pulumi_wasm_rust::Output<
    Option<Vec<super::super::types::compute::RouterPeerCustomLearnedIpRange>>,
> as Default>::default()

The custom learned route IP address range. Must be a valid CIDR-formatted prefix. If an IP address is provided without a subnet mask, it is interpreted as, for IPv4, a /32 singular IP address range, and, for IPv6, /128. Structure is documented below.

source

pub fn maybe_custom_learned_ip_ranges( self, value: Option<impl Into<Output<Option<Vec<RouterPeerCustomLearnedIpRange>>>>>, ) -> RouterPeerArgsBuilder<SetCustomLearnedIpRanges<S>>
where S::CustomLearnedIpRanges: IsUnset,

Optional (Some / Option setters). Default:

<pulumi_wasm_rust::Output<
    Option<Vec<super::super::types::compute::RouterPeerCustomLearnedIpRange>>,
> as Default>::default()

The custom learned route IP address range. Must be a valid CIDR-formatted prefix. If an IP address is provided without a subnet mask, it is interpreted as, for IPv4, a /32 singular IP address range, and, for IPv6, /128. Structure is documented below.

source

pub fn custom_learned_route_priority( self, value: impl Into<Output<Option<i32>>>, ) -> RouterPeerArgsBuilder<SetCustomLearnedRoutePriority<S>>
where S::CustomLearnedRoutePriority: IsUnset,

Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<i32>> as Default>::default().

The user-defined custom learned route priority for a BGP session. This value is applied to all custom learned route ranges for the session. You can choose a value from 0 to 65335. If you don’t provide a value, Google Cloud assigns a priority of 100 to the ranges.

source

pub fn maybe_custom_learned_route_priority( self, value: Option<impl Into<Output<Option<i32>>>>, ) -> RouterPeerArgsBuilder<SetCustomLearnedRoutePriority<S>>
where S::CustomLearnedRoutePriority: IsUnset,

Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<i32>> as Default>::default().

The user-defined custom learned route priority for a BGP session. This value is applied to all custom learned route ranges for the session. You can choose a value from 0 to 65335. If you don’t provide a value, Google Cloud assigns a priority of 100 to the ranges.

source

pub fn enable( self, value: impl Into<Output<Option<bool>>>, ) -> RouterPeerArgsBuilder<SetEnable<S>>
where S::Enable: IsUnset,

Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<bool>> as Default>::default().

The status of the BGP peer connection. If set to false, any active session with the peer is terminated and all associated routing information is removed. If set to true, the peer connection can be established with routing information. The default is true.

source

pub fn maybe_enable( self, value: Option<impl Into<Output<Option<bool>>>>, ) -> RouterPeerArgsBuilder<SetEnable<S>>
where S::Enable: IsUnset,

Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<bool>> as Default>::default().

The status of the BGP peer connection. If set to false, any active session with the peer is terminated and all associated routing information is removed. If set to true, the peer connection can be established with routing information. The default is true.

source

pub fn enable_ipv4( self, value: impl Into<Output<Option<bool>>>, ) -> RouterPeerArgsBuilder<SetEnableIpv4<S>>
where S::EnableIpv4: IsUnset,

Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<bool>> as Default>::default().

Enable IPv4 traffic over BGP Peer. It is enabled by default if the peerIpAddress is version 4.

source

pub fn maybe_enable_ipv4( self, value: Option<impl Into<Output<Option<bool>>>>, ) -> RouterPeerArgsBuilder<SetEnableIpv4<S>>
where S::EnableIpv4: IsUnset,

Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<bool>> as Default>::default().

Enable IPv4 traffic over BGP Peer. It is enabled by default if the peerIpAddress is version 4.

source

pub fn enable_ipv6( self, value: impl Into<Output<Option<bool>>>, ) -> RouterPeerArgsBuilder<SetEnableIpv6<S>>
where S::EnableIpv6: IsUnset,

Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<bool>> as Default>::default().

Enable IPv6 traffic over BGP Peer. If not specified, it is disabled by default.

source

pub fn maybe_enable_ipv6( self, value: Option<impl Into<Output<Option<bool>>>>, ) -> RouterPeerArgsBuilder<SetEnableIpv6<S>>
where S::EnableIpv6: IsUnset,

Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<bool>> as Default>::default().

Enable IPv6 traffic over BGP Peer. If not specified, it is disabled by default.

source

pub fn export_policies( self, value: impl Into<Output<Option<Vec<String>>>>, ) -> RouterPeerArgsBuilder<SetExportPolicies<S>>
where S::ExportPolicies: IsUnset,

Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<Vec<String>>> as Default>::default().

routers.list of export policies applied to this peer, in the order they must be evaluated. The name must correspond to an existing policy that has ROUTE_POLICY_TYPE_EXPORT type.

source

pub fn maybe_export_policies( self, value: Option<impl Into<Output<Option<Vec<String>>>>>, ) -> RouterPeerArgsBuilder<SetExportPolicies<S>>
where S::ExportPolicies: IsUnset,

Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<Vec<String>>> as Default>::default().

routers.list of export policies applied to this peer, in the order they must be evaluated. The name must correspond to an existing policy that has ROUTE_POLICY_TYPE_EXPORT type.

source

pub fn import_policies( self, value: impl Into<Output<Option<Vec<String>>>>, ) -> RouterPeerArgsBuilder<SetImportPolicies<S>>
where S::ImportPolicies: IsUnset,

Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<Vec<String>>> as Default>::default().

routers.list of import policies applied to this peer, in the order they must be evaluated. The name must correspond to an existing policy that has ROUTE_POLICY_TYPE_IMPORT type.

source

pub fn maybe_import_policies( self, value: Option<impl Into<Output<Option<Vec<String>>>>>, ) -> RouterPeerArgsBuilder<SetImportPolicies<S>>
where S::ImportPolicies: IsUnset,

Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<Vec<String>>> as Default>::default().

routers.list of import policies applied to this peer, in the order they must be evaluated. The name must correspond to an existing policy that has ROUTE_POLICY_TYPE_IMPORT type.

source

pub fn interface( self, value: impl Into<Output<String>>, ) -> RouterPeerArgsBuilder<SetInterface<S>>
where S::Interface: IsUnset,

Required.

Name of the interface the BGP peer is associated with.

source

pub fn ip_address( self, value: impl Into<Output<Option<String>>>, ) -> RouterPeerArgsBuilder<SetIpAddress<S>>
where S::IpAddress: IsUnset,

Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<String>> as Default>::default().

IP address of the interface inside Google Cloud Platform. Only IPv4 is supported.

source

pub fn maybe_ip_address( self, value: Option<impl Into<Output<Option<String>>>>, ) -> RouterPeerArgsBuilder<SetIpAddress<S>>
where S::IpAddress: IsUnset,

Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<String>> as Default>::default().

IP address of the interface inside Google Cloud Platform. Only IPv4 is supported.

source

pub fn ipv4_nexthop_address( self, value: impl Into<Output<Option<String>>>, ) -> RouterPeerArgsBuilder<SetIpv4NexthopAddress<S>>
where S::Ipv4NexthopAddress: IsUnset,

Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<String>> as Default>::default().

IPv4 address of the interface inside Google Cloud Platform.

source

pub fn maybe_ipv4_nexthop_address( self, value: Option<impl Into<Output<Option<String>>>>, ) -> RouterPeerArgsBuilder<SetIpv4NexthopAddress<S>>
where S::Ipv4NexthopAddress: IsUnset,

Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<String>> as Default>::default().

IPv4 address of the interface inside Google Cloud Platform.

source

pub fn ipv6_nexthop_address( self, value: impl Into<Output<Option<String>>>, ) -> RouterPeerArgsBuilder<SetIpv6NexthopAddress<S>>
where S::Ipv6NexthopAddress: IsUnset,

Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<String>> as Default>::default().

IPv6 address of the interface inside Google Cloud Platform. The address must be in the range 2600:2d00:0:2::/64 or 2600:2d00:0:3::/64. If you do not specify the next hop addresses, Google Cloud automatically assigns unused addresses from the 2600:2d00:0:2::/64 or 2600:2d00:0:3::/64 range for you.

source

pub fn maybe_ipv6_nexthop_address( self, value: Option<impl Into<Output<Option<String>>>>, ) -> RouterPeerArgsBuilder<SetIpv6NexthopAddress<S>>
where S::Ipv6NexthopAddress: IsUnset,

Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<String>> as Default>::default().

IPv6 address of the interface inside Google Cloud Platform. The address must be in the range 2600:2d00:0:2::/64 or 2600:2d00:0:3::/64. If you do not specify the next hop addresses, Google Cloud automatically assigns unused addresses from the 2600:2d00:0:2::/64 or 2600:2d00:0:3::/64 range for you.

source

pub fn md5_authentication_key( self, value: impl Into<Output<Option<RouterPeerMd5AuthenticationKey>>>, ) -> RouterPeerArgsBuilder<SetMd5AuthenticationKey<S>>
where S::Md5AuthenticationKey: IsUnset,

Optional (Some / Option setters). Default:

<pulumi_wasm_rust::Output<
    Option<super::super::types::compute::RouterPeerMd5AuthenticationKey>,
> as Default>::default()

Configuration for MD5 authentication on the BGP session. Structure is documented below.

source

pub fn maybe_md5_authentication_key( self, value: Option<impl Into<Output<Option<RouterPeerMd5AuthenticationKey>>>>, ) -> RouterPeerArgsBuilder<SetMd5AuthenticationKey<S>>
where S::Md5AuthenticationKey: IsUnset,

Optional (Some / Option setters). Default:

<pulumi_wasm_rust::Output<
    Option<super::super::types::compute::RouterPeerMd5AuthenticationKey>,
> as Default>::default()

Configuration for MD5 authentication on the BGP session. Structure is documented below.

source

pub fn name( self, value: impl Into<Output<Option<String>>>, ) -> RouterPeerArgsBuilder<SetName<S>>
where S::Name: IsUnset,

Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<String>> as Default>::default().

Name of this BGP peer. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression a-z? which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.

source

pub fn maybe_name( self, value: Option<impl Into<Output<Option<String>>>>, ) -> RouterPeerArgsBuilder<SetName<S>>
where S::Name: IsUnset,

Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<String>> as Default>::default().

Name of this BGP peer. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression a-z? which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.

source

pub fn peer_asn( self, value: impl Into<Output<i32>>, ) -> RouterPeerArgsBuilder<SetPeerAsn<S>>
where S::PeerAsn: IsUnset,

Required.

Peer BGP Autonomous System Number (ASN). Each BGP interface may use a different value.

source

pub fn peer_ip_address( self, value: impl Into<Output<Option<String>>>, ) -> RouterPeerArgsBuilder<SetPeerIpAddress<S>>
where S::PeerIpAddress: IsUnset,

Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<String>> as Default>::default().

IP address of the BGP interface outside Google Cloud Platform. Only IPv4 is supported. Required if ip_address is set.

source

pub fn maybe_peer_ip_address( self, value: Option<impl Into<Output<Option<String>>>>, ) -> RouterPeerArgsBuilder<SetPeerIpAddress<S>>
where S::PeerIpAddress: IsUnset,

Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<String>> as Default>::default().

IP address of the BGP interface outside Google Cloud Platform. Only IPv4 is supported. Required if ip_address is set.

source

pub fn peer_ipv4_nexthop_address( self, value: impl Into<Output<Option<String>>>, ) -> RouterPeerArgsBuilder<SetPeerIpv4NexthopAddress<S>>
where S::PeerIpv4NexthopAddress: IsUnset,

Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<String>> as Default>::default().

IPv4 address of the BGP interface outside Google Cloud Platform.

source

pub fn maybe_peer_ipv4_nexthop_address( self, value: Option<impl Into<Output<Option<String>>>>, ) -> RouterPeerArgsBuilder<SetPeerIpv4NexthopAddress<S>>
where S::PeerIpv4NexthopAddress: IsUnset,

Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<String>> as Default>::default().

IPv4 address of the BGP interface outside Google Cloud Platform.

source

pub fn peer_ipv6_nexthop_address( self, value: impl Into<Output<Option<String>>>, ) -> RouterPeerArgsBuilder<SetPeerIpv6NexthopAddress<S>>
where S::PeerIpv6NexthopAddress: IsUnset,

Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<String>> as Default>::default().

IPv6 address of the BGP interface outside Google Cloud Platform. The address must be in the range 2600:2d00:0:2::/64 or 2600:2d00:0:3::/64. If you do not specify the next hop addresses, Google Cloud automatically assigns unused addresses from the 2600:2d00:0:2::/64 or 2600:2d00:0:3::/64 range for you.

source

pub fn maybe_peer_ipv6_nexthop_address( self, value: Option<impl Into<Output<Option<String>>>>, ) -> RouterPeerArgsBuilder<SetPeerIpv6NexthopAddress<S>>
where S::PeerIpv6NexthopAddress: IsUnset,

Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<String>> as Default>::default().

IPv6 address of the BGP interface outside Google Cloud Platform. The address must be in the range 2600:2d00:0:2::/64 or 2600:2d00:0:3::/64. If you do not specify the next hop addresses, Google Cloud automatically assigns unused addresses from the 2600:2d00:0:2::/64 or 2600:2d00:0:3::/64 range for you.

source

pub fn project( self, value: impl Into<Output<Option<String>>>, ) -> RouterPeerArgsBuilder<SetProject<S>>
where S::Project: IsUnset,

Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<String>> as Default>::default().

The ID of the project in which the resource belongs. If it is not provided, the provider project is used.

source

pub fn maybe_project( self, value: Option<impl Into<Output<Option<String>>>>, ) -> RouterPeerArgsBuilder<SetProject<S>>
where S::Project: IsUnset,

Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<String>> as Default>::default().

The ID of the project in which the resource belongs. If it is not provided, the provider project is used.

source

pub fn region( self, value: impl Into<Output<Option<String>>>, ) -> RouterPeerArgsBuilder<SetRegion<S>>
where S::Region: IsUnset,

Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<String>> as Default>::default().

Region where the router and BgpPeer reside. If it is not provided, the provider region is used.

source

pub fn maybe_region( self, value: Option<impl Into<Output<Option<String>>>>, ) -> RouterPeerArgsBuilder<SetRegion<S>>
where S::Region: IsUnset,

Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<String>> as Default>::default().

Region where the router and BgpPeer reside. If it is not provided, the provider region is used.

source

pub fn router( self, value: impl Into<Output<String>>, ) -> RouterPeerArgsBuilder<SetRouter<S>>
where S::Router: IsUnset,

Required.

The name of the Cloud Router in which this BgpPeer will be configured.


source

pub fn router_appliance_instance( self, value: impl Into<Output<Option<String>>>, ) -> RouterPeerArgsBuilder<SetRouterApplianceInstance<S>>
where S::RouterApplianceInstance: IsUnset,

Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<String>> as Default>::default().

The URI of the VM instance that is used as third-party router appliances such as Next Gen Firewalls, Virtual Routers, or Router Appliances. The VM instance must be located in zones contained in the same region as this Cloud Router. The VM instance is the peer side of the BGP session.

source

pub fn maybe_router_appliance_instance( self, value: Option<impl Into<Output<Option<String>>>>, ) -> RouterPeerArgsBuilder<SetRouterApplianceInstance<S>>
where S::RouterApplianceInstance: IsUnset,

Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<String>> as Default>::default().

The URI of the VM instance that is used as third-party router appliances such as Next Gen Firewalls, Virtual Routers, or Router Appliances. The VM instance must be located in zones contained in the same region as this Cloud Router. The VM instance is the peer side of the BGP session.

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for T
where U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.